Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.001572/0.001572, allocations: 113 kB / 18.41 MB, free: 4.684 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.001535/0.001535, allocations: 190.9 kB / 21.35 MB, free: 1.75 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.44/1.44, allocations: 222.9 MB / 247.1 MB, free: 4.18 MB / 190.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001532, allocations: 48.06 kB / 358.7 MB, free: 8.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09943, allocations: 49.44 MB / 408.1 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005177/0.1047, allocations: 3.392 MB / 411.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.1071, allocations: 1.45 MB / 412.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.1074, allocations: 11.94 kB / 413 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.1106, allocations: 2.655 MB / 415.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004551/0.1111, allocations: 174.7 kB / 415.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.1118, allocations: 303.3 kB / 416.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.1139, allocations: 1.794 MB / 417.9 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.1142, allocations: 139.1 kB / 418 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004147/0.1146, allocations: 309.1 kB / 418.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.1151, allocations: 322.8 kB / 418.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.1152, allocations: 44 kB / 418.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.1154, allocations: 87.91 kB / 418.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007262/0.1161, allocations: 0.8414 MB / 419.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008405/0.117, allocations: 0.9385 MB / 420.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.1196, allocations: 2.63 MB / 423.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1196, allocations: 4 kB / 423.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1196, allocations: 0 / 423.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.1196, allocations: 0 / 423.2 MB, free: 7.676 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.004379/0.124, allocations: 2.907 MB / 426.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1241, allocations: 8.031 kB / 426.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.1245, allocations: 295 kB / 426.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.1271, allocations: 1.839 MB / 428.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.279e-05/0.1272, allocations: 59.27 kB / 428.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.1274, allocations: 51.92 kB / 428.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/0.1282, allocations: 395 kB / 428.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.1282, allocations: 0 / 428.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.1283, allocations: 23.92 kB / 428.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1283, allocations: 8 kB / 428.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.1291, allocations: 335.8 kB / 429.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2147/0.3438, allocations: 2.899 MB / 432 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.3445, allocations: 314.8 kB / 432.3 MB, free: 20.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.3448, allocations: 168.6 kB / 432.4 MB, free: 20.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.3449, allocations: 4.594 kB / 432.4 MB, free: 20.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3449, allocations: 42.22 kB / 432.5 MB, free: 20.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.903e-06/0.3449, allocations: 1.531 kB / 432.5 MB, free: 20.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.005939/0.3509, allocations: 2.452 MB / 434.9 MB, free: 19.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3509, allocations: 86.52 kB / 435 MB, free: 19.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00834/0.3593, allocations: 5.431 MB / 440.5 MB, free: 19.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.006e-05/0.3594, allocations: 34.36 kB / 440.5 MB, free: 19.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.3605, allocations: 1.211 MB / 441.7 MB, free: 19.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.3606, allocations: 179.3 kB / 441.9 MB, free: 19.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.3608, allocations: 86.72 kB / 442 MB, free: 19.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.356e-05/0.3608, allocations: 328.7 kB / 442.3 MB, free: 19.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.3612, allocations: 137.4 kB / 442.4 MB, free: 19.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.3616, allocations: 223.3 kB / 442.6 MB, free: 18.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/0.3622, allocations: 380.6 kB / 443 MB, free: 18.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3622, allocations: 2.344 kB / 443 MB, free: 18.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001396/0.3636, allocations: 0.6982 MB / 443.7 MB, free: 18.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3637, allocations: 6.453 kB / 443.7 MB, free: 18.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3637, allocations: 4.875 kB / 443.7 MB, free: 18.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/0.3637, allocations: 6.5 kB / 443.7 MB, free: 18.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/0.3642, allocations: 120.5 kB / 443.8 MB, free: 18.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.3643, allocations: 5.172 kB / 443.8 MB, free: 18.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.3648, allocations: 16.98 kB / 443.9 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.3648, allocations: 18.84 kB / 443.9 MB, free: 18.62 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.001125/0.366, allocations: 0.9297 MB / 444.8 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/0.3663, allocations: 285.5 kB / 445.1 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.3678, allocations: 0.7923 MB / 445.9 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.3678, allocations: 5.438 kB / 445.9 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3678, allocations: 1.375 kB / 445.9 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.3678, allocations: 5.906 kB / 445.9 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.3697, allocations: 1.467 MB / 447.4 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3697, allocations: 0 / 447.4 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.3701, allocations: 99.42 kB / 447.5 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003785/0.3705, allocations: 100.5 kB / 447.6 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.3706, allocations: 12.98 kB / 447.6 MB, free: 17.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000493/0.3711, allocations: 0.6369 MB / 448.2 MB, free: 16.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3711, allocations: 5.688 kB / 448.2 MB, free: 16.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.373, allocations: 1.094 MB / 449.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007277/0.3737, allocations: 0.4884 MB / 449.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.3739, allocations: 10.95 kB / 449.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.3744, allocations: 21.83 kB / 449.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.3745, allocations: 24.34 kB / 449.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.3745, allocations: 16.03 kB / 449.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.005113/0.3797, allocations: 3.978 MB / 453.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3797, allocations: 0 / 453.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009433/0.3806, allocations: 203.5 kB / 454 MB, free: 14.36 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.001521/0.3822, allocations: 433.7 kB / 454.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009064/0.3831, allocations: 380.2 kB / 454.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3831, allocations: 0.9375 kB / 454.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004794/0.3836, allocations: 219.4 kB / 455 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.3848, allocations: 196.7 kB / 455.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006765/0.3915, allocations: 5.672 MB / 460.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.3927, allocations: 1.811 MB / 462.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.3932, allocations: 91.42 kB / 462.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3932, allocations: 0 / 462.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of Templates: time 0.06271/0.4559, allocations: 35.96 MB / 498.8 MB, free: 3.883 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.515233220998198]