Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001504/0.001504, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 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.001705/0.001705, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 43.94 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.218, allocations: 53.36 MB / 432.4 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005199/0.2232, allocations: 3.502 MB / 435.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.2262, allocations: 1.672 MB / 437.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.2265, allocations: 11.94 kB / 437.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003215/0.2297, allocations: 2.667 MB / 440.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006161/0.2303, allocations: 222.6 kB / 440.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.2311, allocations: 318.3 kB / 440.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.2333, allocations: 1.825 MB / 442.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.2335, allocations: 104.4 kB / 442.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/0.234, allocations: 325 kB / 443 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000527/0.2345, allocations: 358.7 kB / 443.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.2347, allocations: 44 kB / 443.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.2349, allocations: 91.98 kB / 443.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006634/0.2355, allocations: 0.8414 MB / 444.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008768/0.2364, allocations: 0.9462 MB / 445.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.239, allocations: 2.651 MB / 447.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.239, allocations: 0 / 447.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.239, allocations: 0 / 447.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.504e-05/0.2391, allocations: 4 kB / 447.9 MB, free: 7.465 MB / 350.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.004984/0.244, allocations: 2.843 MB / 450.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2441, allocations: 15.98 kB / 450.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005702/0.2447, allocations: 302.9 kB / 451.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/0.2475, allocations: 1.802 MB / 452.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.2476, allocations: 110.7 kB / 453 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.2478, allocations: 51.92 kB / 453.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.2485, allocations: 398.9 kB / 453.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.2486, allocations: 0 / 453.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.2486, allocations: 16 kB / 453.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.2486, allocations: 8 kB / 453.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007182/0.2493, allocations: 331.7 kB / 453.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.2536, allocations: 2.857 MB / 456.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006324/0.2543, allocations: 302.6 kB / 456.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.2546, allocations: 157.7 kB / 457.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.2546, allocations: 4 kB / 457.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.2546, allocations: 47.08 kB / 457.1 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/0.2546, allocations: 3.938 kB / 457.2 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.004822/0.2595, allocations: 2.393 MB / 459.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.2595, allocations: 85.48 kB / 459.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006485/0.266, allocations: 5.455 MB / 465.1 MB, free: 6.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.2661, allocations: 37.73 kB / 465.1 MB, free: 5.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.2672, allocations: 1.192 MB / 466.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.2674, allocations: 170.5 kB / 466.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.2675, allocations: 94.14 kB / 466.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2677, allocations: 326 kB / 466.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.268, allocations: 136.9 kB / 467 MB, free: 4.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.2684, allocations: 221.1 kB / 467.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.2691, allocations: 380.2 kB / 467.6 MB, free: 3.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2691, allocations: 3.938 kB / 467.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001211/0.2703, allocations: 0.705 MB / 468.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2703, allocations: 8 kB / 468.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2703, allocations: 0 / 468.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2704, allocations: 4 kB / 468.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.2709, allocations: 119.8 kB / 468.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.2709, allocations: 16.23 kB / 468.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.2713, allocations: 12 kB / 468.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.2713, allocations: 20 kB / 468.5 MB, free: 2.512 MB / 366.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.001094/0.2724, allocations: 0.9269 MB / 469.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.2727, allocations: 282.1 kB / 469.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.2742, allocations: 0.7982 MB / 470.5 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2742, allocations: 4 kB / 470.5 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2742, allocations: 0 / 470.5 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2742, allocations: 0 / 470.5 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.2759, allocations: 1.453 MB / 472 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.2759, allocations: 3.938 kB / 472 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.2764, allocations: 99.88 kB / 472.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003429/0.2767, allocations: 96.78 kB / 472.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.2768, allocations: 19.92 kB / 472.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006015/0.2774, allocations: 0.6266 MB / 472.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2774, allocations: 0 / 472.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.2791, allocations: 1.094 MB / 473.9 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009113/0.28, allocations: 434 kB / 474.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.2801, allocations: 12 kB / 474.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/0.2806, allocations: 23.98 kB / 474.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.2807, allocations: 28.5 kB / 474.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.2807, allocations: 19.98 kB / 474.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004778/0.2855, allocations: 3.99 MB / 478.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2855, allocations: 0 / 478.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006675/0.2861, allocations: 200 kB / 478.6 MB, free: 8.312 MB / 382.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.001499/0.2876, allocations: 430.5 kB / 479 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007891/0.2884, allocations: 360.8 kB / 479.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2884, allocations: 0.5 kB / 479.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004485/0.2889, allocations: 202.4 kB / 479.6 MB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.2898, allocations: 197 kB / 479.7 MB, free: 7.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007493/0.2973, allocations: 5.68 MB / 485.4 MB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.299, allocations: 1.825 MB / 487.2 MB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.2994, allocations: 95.42 kB / 487.3 MB, free: 15.62 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2994, allocations: 3.938 kB / 487.3 MB, free: 15.62 MB / 398.1 MB Notification: Performance of Templates: time 0.05893/0.3583, allocations: 36.19 MB / 0.5113 GB, free: 11.41 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.93901582993567]