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.001369/0.001369, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001455/0.001455, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.511/1.511, allocations: 230.5 MB / 254.1 MB, free: 15.1 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.001551/0.001551, allocations: 47.92 kB / 373.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1096, allocations: 53.34 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005268/0.1148, allocations: 3.458 MB / 430.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1947/0.3096, allocations: 1.659 MB / 431.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.31, allocations: 5.969 kB / 431.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003202/0.3132, allocations: 2.668 MB / 434.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007373/0.3139, allocations: 224.1 kB / 434.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.3147, allocations: 317.1 kB / 435.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002282/0.317, allocations: 1.817 MB / 436.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.3172, allocations: 97.14 kB / 437 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005541/0.3178, allocations: 332.9 kB / 437.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004687/0.3182, allocations: 354.9 kB / 437.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.702e-05/0.3183, allocations: 44.84 kB / 437.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.3186, allocations: 97.31 kB / 437.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000875/0.3195, allocations: 0.8506 MB / 438.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006822/0.3201, allocations: 0.9373 MB / 439.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002894/0.323, allocations: 2.652 MB / 442.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.323, allocations: 1.703 kB / 442.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.323, allocations: 0 / 442.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.685e-05/0.3231, allocations: 0 / 442.3 MB, free: 6.477 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.004255/0.3273, allocations: 2.917 MB / 445.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3274, allocations: 9.234 kB / 445.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004713/0.3278, allocations: 307.3 kB / 445.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.3302, allocations: 1.87 MB / 447.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.3303, allocations: 57.25 kB / 447.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.3305, allocations: 49.73 kB / 447.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.3312, allocations: 392.2 kB / 447.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.3312, allocations: 0 / 447.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.3312, allocations: 21.47 kB / 447.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.3312, allocations: 9.625 kB / 447.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006745/0.3319, allocations: 326.6 kB / 448.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004118/0.336, allocations: 2.903 MB / 451.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.3366, allocations: 304.8 kB / 451.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.3369, allocations: 156.4 kB / 451.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.337, allocations: 4.219 kB / 451.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.337, allocations: 41.62 kB / 451.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.337, allocations: 0 / 451.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.005125/0.3421, allocations: 2.476 MB / 454.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.3422, allocations: 82.45 kB / 454.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007456/0.3496, allocations: 5.46 MB / 459.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.366e-05/0.3497, allocations: 32.14 kB / 459.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.3511, allocations: 1.194 MB / 460.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.3513, allocations: 165.1 kB / 461 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.3515, allocations: 100.8 kB / 461.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3516, allocations: 328.5 kB / 461.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.352, allocations: 143.7 kB / 461.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.3524, allocations: 225.9 kB / 461.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007855/0.3532, allocations: 374 kB / 462.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3532, allocations: 3.938 kB / 462.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001444/0.3546, allocations: 0.7054 MB / 462.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3547, allocations: 6.406 kB / 462.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3547, allocations: 1.75 kB / 462.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.3547, allocations: 4 kB / 462.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.3552, allocations: 116.5 kB / 463 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.3552, allocations: 11 kB / 463 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.3558, allocations: 17.77 kB / 463 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.3558, allocations: 19.81 kB / 463 MB, free: 10.36 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.001292/0.3571, allocations: 0.9217 MB / 464 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.3575, allocations: 284.7 kB / 464.2 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.3592, allocations: 0.8006 MB / 465 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.3592, allocations: 8.891 kB / 465.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3592, allocations: 1.188 kB / 465.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3592, allocations: 5.188 kB / 465.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.3613, allocations: 1.481 MB / 466.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.3614, allocations: 3.938 kB / 466.5 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/0.3619, allocations: 95.88 kB / 466.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004051/0.3623, allocations: 85.92 kB / 466.7 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.3623, allocations: 19.98 kB / 466.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006649/0.363, allocations: 0.6286 MB / 467.4 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.363, allocations: 0 / 467.4 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.365, allocations: 1.1 MB / 468.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008097/0.3658, allocations: 0.4913 MB / 469 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.366, allocations: 12 kB / 469 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005193/0.3665, allocations: 19.98 kB / 469 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.3666, allocations: 32.39 kB / 469 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.3666, allocations: 12 kB / 469 MB, free: 5.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005653/0.3723, allocations: 3.99 MB / 473 MB, free: 1.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3723, allocations: 3.938 kB / 473 MB, free: 1.301 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001016/0.3733, allocations: 204 kB / 473.2 MB, free: 1.102 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.001656/0.3749, allocations: 436.2 kB / 473.7 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008906/0.3758, allocations: 360.9 kB / 474 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3758, allocations: 0 / 474 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004941/0.3763, allocations: 202.3 kB / 474.2 MB, free: 324 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.3775, allocations: 202.2 kB / 474.4 MB, free: 124 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008093/0.3856, allocations: 5.49 MB / 479.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001802/0.3874, allocations: 1.821 MB / 481.7 MB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007172/0.3881, allocations: 277.1 kB / 482 MB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.3884, allocations: 91.42 kB / 482.1 MB, free: 8.395 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3884, allocations: 0 / 482.1 MB, free: 8.395 MB / 382.1 MB Notification: Performance of Templates: time 0.03447/0.4229, allocations: 15.69 MB / 497.8 MB, free: 8.77 MB / 398.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/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_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: 5.168034169822931]