Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002008/0.002008, allocations: 117.6 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00253/0.00253, allocations: 201 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.89 kB / 373.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1046, allocations: 53.33 MB / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005313/0.1099, allocations: 3.449 MB / 430.6 MB, free: 1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2089/0.3188, allocations: 1.658 MB / 432.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/0.3192, allocations: 9.438 kB / 432.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003218/0.3224, allocations: 2.665 MB / 434.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007297/0.3231, allocations: 220.9 kB / 435.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008384/0.324, allocations: 328.3 kB / 435.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002422/0.3264, allocations: 1.817 MB / 437.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.3266, allocations: 97.22 kB / 437.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005642/0.3272, allocations: 313.6 kB / 437.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.3276, allocations: 365 kB / 438 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.998e-05/0.3277, allocations: 45.31 kB / 438.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.328, allocations: 95.48 kB / 438.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008051/0.3288, allocations: 0.8486 MB / 439 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006317/0.3294, allocations: 0.9358 MB / 440 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.3323, allocations: 2.657 MB / 442.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3323, allocations: 1.5 kB / 442.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3323, allocations: 0 / 442.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.858e-05/0.3324, allocations: 0 / 442.6 MB, free: 6.594 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.004842/0.3372, allocations: 2.917 MB / 445.5 MB, free: 4.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3372, allocations: 9.312 kB / 445.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006273/0.3379, allocations: 309.2 kB / 445.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.3406, allocations: 1.862 MB / 447.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/0.3407, allocations: 62.19 kB / 447.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.3408, allocations: 46.91 kB / 447.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/0.3416, allocations: 394.9 kB / 448.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3416, allocations: 5.094 kB / 448.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.3417, allocations: 15.38 kB / 448.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3417, allocations: 8.469 kB / 448.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.3423, allocations: 335.5 kB / 448.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/0.3464, allocations: 2.896 MB / 451.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/0.347, allocations: 302.9 kB / 451.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.3473, allocations: 158.5 kB / 451.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.3474, allocations: 6.969 kB / 451.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.3474, allocations: 42.44 kB / 452 MB, free: 1.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.903e-06/0.3474, allocations: 3.938 kB / 452 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.005401/0.3528, allocations: 2.474 MB / 454.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.3528, allocations: 82.8 kB / 454.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00851/0.3614, allocations: 5.456 MB / 460 MB, free: 13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.3615, allocations: 36.05 kB / 460 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.3628, allocations: 1.19 MB / 461.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.363, allocations: 170.9 kB / 461.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.3631, allocations: 92.28 kB / 461.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3633, allocations: 327.3 kB / 461.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.3637, allocations: 142 kB / 461.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.364, allocations: 220.4 kB / 462.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.3648, allocations: 389.5 kB / 462.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3648, allocations: 0.9688 kB / 462.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001776/0.3666, allocations: 0.7004 MB / 463.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3666, allocations: 10.41 kB / 463.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3666, allocations: 5.281 kB / 463.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3666, allocations: 5.312 kB / 463.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.3671, allocations: 121.6 kB / 463.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.3671, allocations: 2.5 kB / 463.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006708/0.3678, allocations: 24.02 kB / 463.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.3678, allocations: 17.56 kB / 463.4 MB, free: 10.52 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.001661/0.3695, allocations: 0.9151 MB / 464.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004993/0.37, allocations: 288.2 kB / 464.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.3717, allocations: 0.7956 MB / 465.4 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.3717, allocations: 9.109 kB / 465.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3717, allocations: 0 / 465.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3717, allocations: 5.406 kB / 465.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.374, allocations: 1.484 MB / 466.9 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.374, allocations: 0 / 466.9 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.3745, allocations: 91.88 kB / 467 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003752/0.3748, allocations: 96.59 kB / 467.1 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.3749, allocations: 19.92 kB / 467.1 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006356/0.3755, allocations: 0.6304 MB / 467.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3755, allocations: 0 / 467.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.3775, allocations: 1.098 MB / 468.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008535/0.3784, allocations: 0.4952 MB / 469.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.3786, allocations: 8 kB / 469.3 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/0.3791, allocations: 19.98 kB / 469.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.3792, allocations: 32.39 kB / 469.4 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.3792, allocations: 16 kB / 469.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.006051/0.3853, allocations: 3.986 MB / 473.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3853, allocations: 0 / 473.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001171/0.3864, allocations: 208 kB / 473.6 MB, free: 1.348 MB / 366.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.001614/0.3881, allocations: 418.7 kB / 474 MB, free: 1.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009397/0.389, allocations: 360.9 kB / 474.3 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.389, allocations: 0 / 474.3 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004966/0.3895, allocations: 210.3 kB / 474.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.3908, allocations: 195 kB / 474.7 MB, free: 368 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008559/0.3994, allocations: 5.507 MB / 480.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/0.4012, allocations: 1.821 MB / 482.1 MB, free: 8.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008501/0.402, allocations: 283.8 kB / 482.3 MB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.4023, allocations: 87.42 kB / 482.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4023, allocations: 0 / 482.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of Templates: time 0.03358/0.4359, allocations: 15.69 MB / 498.1 MB, free: 8.98 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.106297585181892]