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.001093/0.001093, allocations: 79.73 kB / 21.97 MB, free: 2.594 MB / 18.57 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.001727/0.001727, allocations: 171.7 kB / 25.33 MB, free: 9.441 MB / 18.57 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 0.9122/0.9122, allocations: 158.6 MB / 187.2 MB, free: 2.477 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 251 MB, free: 3.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.286e-05/3.518e-05, allocations: 2.312 kB / 251.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005813/0.005848, allocations: 3.349 MB / 254.4 MB, free: 200 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.008616, allocations: 1.396 MB / 255.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/0.00909, allocations: 7.938 kB / 255.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003856/0.01295, allocations: 2.67 MB / 258.5 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.01395, allocations: 182.5 kB / 258.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008721/0.01482, allocations: 283.3 kB / 258.9 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002998/0.01782, allocations: 1.817 MB / 260.7 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.01811, allocations: 83.7 kB / 260.8 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.01963, allocations: 490.7 kB / 261.3 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004802/0.02011, allocations: 295.3 kB / 261.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.02024, allocations: 48 kB / 261.6 MB, free: 8.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.02046, allocations: 75.91 kB / 261.7 MB, free: 8.871 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006196/0.02108, allocations: 0.8571 MB / 262.6 MB, free: 8.012 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006227/0.0217, allocations: 474.1 kB / 263 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.02368, allocations: 1.479 MB / 264.5 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.02368, allocations: 0 / 264.5 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02369, allocations: 0 / 264.5 MB, free: 6.062 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.32e-05/0.02376, allocations: 3.938 kB / 264.5 MB, free: 6.059 MB / 250.7 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.005692/0.02945, allocations: 3.036 MB / 267.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.02951, allocations: 12.03 kB / 267.6 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005807/0.03009, allocations: 323 kB / 267.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.03214, allocations: 1.307 MB / 269.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.03225, allocations: 110.7 kB / 269.3 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.0324, allocations: 52.67 kB / 269.3 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.0329, allocations: 387.5 kB / 269.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.03291, allocations: 3.984 kB / 269.7 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.03294, allocations: 16 kB / 269.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.03295, allocations: 8 kB / 269.8 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.03325, allocations: 193.8 kB / 269.9 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/0.03625, allocations: 2.649 MB / 272.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.0366, allocations: 265.3 kB / 272.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.03673, allocations: 111.3 kB / 273 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.03676, allocations: 4 kB / 273 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.03679, allocations: 45.39 kB / 273 MB, free: 13.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.315e-06/0.03679, allocations: 0 / 273 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.00256/0.03935, allocations: 2.084 MB / 275.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.03939, allocations: 81.61 kB / 275.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.04249, allocations: 3.454 MB / 278.6 MB, free: 7.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.04253, allocations: 29.7 kB / 278.7 MB, free: 7.555 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009172/0.04345, allocations: 1.408 MB / 280.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.04356, allocations: 170.5 kB / 280.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.04368, allocations: 99.78 kB / 280.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.04381, allocations: 0.4925 MB / 280.8 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.04394, allocations: 72.95 kB / 280.9 MB, free: 5.297 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.04412, allocations: 182.6 kB / 281.1 MB, free: 5.078 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.04442, allocations: 283 kB / 281.3 MB, free: 4.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.04442, allocations: 0 / 281.3 MB, free: 4.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007212/0.04514, allocations: 0.6011 MB / 281.9 MB, free: 4.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.04517, allocations: 4 kB / 281.9 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.04518, allocations: 7.984 kB / 282 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.0452, allocations: 4 kB / 282 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.04551, allocations: 111.9 kB / 282.1 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.04552, allocations: 11.92 kB / 282.1 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.04577, allocations: 16 kB / 282.1 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.04579, allocations: 16 kB / 282.1 MB, free: 3.992 MB / 266.7 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.0002571/0.04605, allocations: 192.6 kB / 282.3 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.04633, allocations: 302 kB / 282.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008132/0.04714, allocations: 0.5602 MB / 283.2 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.04714, allocations: 4 kB / 283.2 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.04715, allocations: 4 kB / 283.2 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.04716, allocations: 3.984 kB / 283.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.04857, allocations: 1.517 MB / 284.7 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.04857, allocations: 0 / 284.7 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.04883, allocations: 99.88 kB / 284.8 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002456/0.04908, allocations: 67.62 kB / 284.8 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.04911, allocations: 12 kB / 284.9 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000457/0.04956, allocations: 0.8545 MB / 285.7 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.04957, allocations: 3.938 kB / 285.7 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009505/0.05052, allocations: 0.9695 MB / 286.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/0.05095, allocations: 402 kB / 287.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.05107, allocations: 12 kB / 287.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.05131, allocations: 19.98 kB / 287.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.05137, allocations: 32.38 kB / 287.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.05139, allocations: 16.06 kB / 287.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002017/0.05341, allocations: 2.025 MB / 289.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.05341, allocations: 4 kB / 289.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004957/0.05391, allocations: 200 kB / 289.4 MB, free: 12.59 MB / 282.7 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.0008792/0.05479, allocations: 391.8 kB / 289.8 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004264/0.05521, allocations: 274.9 kB / 290 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.05521, allocations: 0 / 290 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.05545, allocations: 160.6 kB / 290.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.05614, allocations: 203.3 kB / 290.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.06029, allocations: 3.941 MB / 294.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.06073, allocations: 0.5551 MB / 294.9 MB, free: 7.008 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003522/0.06108, allocations: 171.5 kB / 295.1 MB, free: 6.836 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.06128, allocations: 84.5 kB / 295.1 MB, free: 6.754 MB / 282.7 MB Notification: Performance of SimCode: time 3.257e-06/0.06128, allocations: 0 / 295.1 MB, free: 6.754 MB / 282.7 MB Notification: Performance of Templates: time 0.1313/0.1926, allocations: 15.75 MB / 310.9 MB, free: 50.41 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.053849956020713]