Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 198.7 kB / 25.23 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 51.92 kB / 348.4 MB, free: 9.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3159, allocations: 49.16 MB / 397.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004919/0.3208, allocations: 3.386 MB / 401 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.3235, allocations: 1.423 MB / 402.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.3239, allocations: 6.25 kB / 402.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004087/0.328, allocations: 2.666 MB / 405.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007974/0.3288, allocations: 174.2 kB / 405.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008165/0.3296, allocations: 289.1 kB / 405.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002676/0.3323, allocations: 1.8 MB / 407.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.3325, allocations: 102.8 kB / 407.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004818/0.333, allocations: 313.5 kB / 407.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004683/0.3335, allocations: 355.4 kB / 408.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.3336, allocations: 43.47 kB / 408.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.3338, allocations: 73.14 kB / 408.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006069/0.3344, allocations: 0.8444 MB / 409.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007389/0.3351, allocations: 0.9415 MB / 410 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003064/0.3382, allocations: 2.624 MB / 412.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3382, allocations: 9 kB / 412.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3382, allocations: 0 / 412.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.521e-05/0.3383, allocations: 3.938 kB / 412.6 MB, free: 1.617 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005906/0.3442, allocations: 2.812 MB / 415.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.3442, allocations: 9.688 kB / 415.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006084/0.3448, allocations: 297.8 kB / 415.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.3481, allocations: 1.79 MB / 417.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.3483, allocations: 117.6 kB / 417.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.3485, allocations: 53.92 kB / 417.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008052/0.3493, allocations: 394.9 kB / 418.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3493, allocations: 1.594 kB / 418.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.3493, allocations: 15.03 kB / 418.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3494, allocations: 7.906 kB / 418.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007252/0.3501, allocations: 333 kB / 418.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005348/0.3554, allocations: 2.856 MB / 421.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.3561, allocations: 305 kB / 421.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.3564, allocations: 149.7 kB / 421.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.3565, allocations: 4 kB / 421.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.3565, allocations: 38.56 kB / 421.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.974e-06/0.3565, allocations: 0 / 421.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.005241/0.3617, allocations: 2.361 MB / 424.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.3618, allocations: 85.53 kB / 424.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007599/0.3694, allocations: 5.431 MB / 429.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.3695, allocations: 37.7 kB / 429.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.3708, allocations: 1.207 MB / 430.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.371, allocations: 182.5 kB / 431.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.3711, allocations: 90.14 kB / 431.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3713, allocations: 329.9 kB / 431.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.3716, allocations: 136.9 kB / 431.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.372, allocations: 225 kB / 431.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/0.3728, allocations: 384.3 kB / 432.2 MB, free: 388 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.3728, allocations: 4 kB / 432.2 MB, free: 384 kB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001491/0.3743, allocations: 0.6974 MB / 432.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.3743, allocations: 8 kB / 432.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3743, allocations: 0 / 432.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.3743, allocations: 4 kB / 432.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.3748, allocations: 116.1 kB / 433 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.3748, allocations: 15.94 kB / 433.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.3753, allocations: 15.98 kB / 433.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.3753, allocations: 20 kB / 433.1 MB, free: 15.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001406/0.3768, allocations: 0.9151 MB / 434 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003672/0.3771, allocations: 282.1 kB / 434.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.3787, allocations: 0.7785 MB / 435.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.3787, allocations: 4 kB / 435.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3787, allocations: 4 kB / 435.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.3787, allocations: 7.922 kB / 435.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.3807, allocations: 1.433 MB / 436.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3807, allocations: 0 / 436.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.3812, allocations: 99.81 kB / 436.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003398/0.3815, allocations: 84.8 kB / 436.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.3815, allocations: 15.98 kB / 436.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006399/0.3822, allocations: 0.6304 MB / 437.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3822, allocations: 7.938 kB / 437.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.384, allocations: 1.071 MB / 438.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009683/0.3849, allocations: 430 kB / 438.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.3851, allocations: 12 kB / 438.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.3856, allocations: 19.98 kB / 438.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.3856, allocations: 32.38 kB / 438.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.3857, allocations: 19.98 kB / 438.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00618/0.3919, allocations: 3.966 MB / 442.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3919, allocations: 0 / 442.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001293/0.3932, allocations: 207.9 kB / 443.1 MB, free: 5.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001616/0.3948, allocations: 424.2 kB / 443.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009278/0.3957, allocations: 356.8 kB / 443.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3957, allocations: 4 kB / 443.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004875/0.3962, allocations: 206.9 kB / 444 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.3976, allocations: 191.1 kB / 444.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.4078, allocations: 5.66 MB / 449.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/0.4102, allocations: 1.821 MB / 451.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/0.4108, allocations: 95.42 kB / 451.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4108, allocations: 0 / 451.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of Templates: time 0.07037/0.4811, allocations: 35.97 MB / 487.8 MB, free: 8.523 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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: 8.655168266035616]