Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 192.9 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 47.92 kB / 370.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2441, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005721/0.2498, allocations: 3.972 MB / 427 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.2526, allocations: 1.5 MB / 428.5 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.2529, allocations: 11.94 kB / 428.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.2533, allocations: 129.3 kB / 428.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008144/0.2541, allocations: 365.6 kB / 429 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.2546, allocations: 227.7 kB / 429.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.2557, allocations: 0.9824 MB / 430.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.256, allocations: 142.1 kB / 430.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.2565, allocations: 394.7 kB / 430.8 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005354/0.2571, allocations: 374.3 kB / 431.1 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.2572, allocations: 96 kB / 431.2 MB, free: 6.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.2576, allocations: 207.9 kB / 431.4 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.2578, allocations: 195.3 kB / 431.6 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.2581, allocations: 350.5 kB / 432 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.2595, allocations: 1.175 MB / 433.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2595, allocations: 0 / 433.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2595, allocations: 0 / 433.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.2595, allocations: 0 / 433.1 MB, free: 4.348 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002466/0.2619, allocations: 1.034 MB / 434.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.262, allocations: 12.03 kB / 434.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.2621, allocations: 88.41 kB / 434.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/0.263, allocations: 461.5 kB / 434.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.2631, allocations: 127 kB / 434.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.2633, allocations: 72.48 kB / 434.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.2646, allocations: 0.7024 MB / 435.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.2646, allocations: 3.938 kB / 435.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.2647, allocations: 20 kB / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.2647, allocations: 12 kB / 435.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.2659, allocations: 0.5205 MB / 436.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00342/0.2693, allocations: 1.983 MB / 438.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.2703, allocations: 457.2 kB / 438.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/0.2709, allocations: 247.2 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.2709, allocations: 7.938 kB / 438.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.2709, allocations: 42.55 kB / 438.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.934e-06/0.2709, allocations: 0 / 438.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01295/0.2839, allocations: 3.325 MB / 442.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.2839, allocations: 89.55 kB / 442.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007031/0.2846, allocations: 0.5057 MB / 442.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.2847, allocations: 37.7 kB / 442.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.285, allocations: 316.8 kB / 443.2 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.2851, allocations: 230.1 kB / 443.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.2853, allocations: 110.3 kB / 443.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.2855, allocations: 362.8 kB / 443.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.2861, allocations: 253.2 kB / 444.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/0.2868, allocations: 340.5 kB / 444.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.288, allocations: 0.611 MB / 445 MB, free: 8.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2881, allocations: 7.938 kB / 445 MB, free: 8.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001643/0.2897, allocations: 0.736 MB / 445.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.2897, allocations: 11.94 kB / 445.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.2897, allocations: 4 kB / 445.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.2899, allocations: 36.83 kB / 445.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008211/0.2907, allocations: 163.8 kB / 446 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.2919, allocations: 1.303 MB / 447.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.2925, allocations: 35.98 kB / 447.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.2926, allocations: 23.98 kB / 447.3 MB, free: 5.617 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002993/0.2929, allocations: 209.7 kB / 447.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.293, allocations: 55.67 kB / 447.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.2949, allocations: 0.8433 MB / 448.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2949, allocations: 4 kB / 448.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2949, allocations: 4 kB / 448.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.2949, allocations: 7.922 kB / 448.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/0.2986, allocations: 1.578 MB / 450 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2986, allocations: 7.984 kB / 450.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.2991, allocations: 111.8 kB / 450.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002298/0.3014, allocations: 468.3 kB / 450.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/0.3015, allocations: 15.98 kB / 450.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005195/0.3067, allocations: 2.969 MB / 453.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3067, allocations: 4.062 kB / 453.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.3097, allocations: 1.358 MB / 455 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.31, allocations: 131.6 kB / 455.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/0.3101, allocations: 12 kB / 455.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/0.3107, allocations: 51.91 kB / 455.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.3108, allocations: 48.5 kB / 455.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.3109, allocations: 23.98 kB / 455.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004751/0.3113, allocations: 371.1 kB / 455.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3113, allocations: 0 / 455.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007167/0.3121, allocations: 188.1 kB / 455.8 MB, free: 13.01 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000275/0.3123, allocations: 151 kB / 455.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.3139, allocations: 0.711 MB / 456.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3139, allocations: 3.938 kB / 456.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009531/0.3148, allocations: 0.4987 MB / 457.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.3154, allocations: 73.94 kB / 457.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.3183, allocations: 1.473 MB / 458.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.3186, allocations: 311.1 kB / 459 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.3189, allocations: 60.67 kB / 459 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.3191, allocations: 51.41 kB / 459.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3191, allocations: 0 / 459.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of Templates: time 0.01932/0.3384, allocations: 10.27 MB / 469.4 MB, free: 15.43 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.92991728335619]