Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.0009672/0.0009672, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009923/0.0009923, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9033/0.9033, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.435e-05, allocations: 2.312 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003727/0.003741, allocations: 4.365 MB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.005721, allocations: 1.617 MB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.005933, allocations: 15.88 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.006222, allocations: 118.9 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00061/0.006832, allocations: 381.3 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.00713, allocations: 251.5 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006856/0.007816, allocations: 1.013 MB / 280.7 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.008023, allocations: 154.1 kB / 280.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005009/0.008524, allocations: 0.5652 MB / 281.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.008858, allocations: 335.1 kB / 281.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.389e-05/0.008942, allocations: 96 kB / 281.8 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.009193, allocations: 211.9 kB / 282.1 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.009293, allocations: 199.2 kB / 282.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.009476, allocations: 295.3 kB / 282.5 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.01007, allocations: 0.7085 MB / 283.2 MB, free: 7.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01007, allocations: 0 / 283.2 MB, free: 7.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01007, allocations: 0 / 283.2 MB, free: 7.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.01008, allocations: 0 / 283.2 MB, free: 7.234 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001331/0.01141, allocations: 1.138 MB / 284.4 MB, free: 6.059 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.01144, allocations: 8.031 kB / 284.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.01164, allocations: 136.5 kB / 284.5 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.0121, allocations: 442.2 kB / 285 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.01219, allocations: 123 kB / 285.1 MB, free: 5.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.01232, allocations: 72.67 kB / 285.1 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/0.01298, allocations: 0.5701 MB / 285.7 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.01299, allocations: 3.938 kB / 285.7 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.01303, allocations: 24 kB / 285.7 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.01305, allocations: 12 kB / 285.8 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.01348, allocations: 283.6 kB / 286 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.01537, allocations: 2.042 MB / 288.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.01576, allocations: 313.4 kB / 288.4 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.01597, allocations: 155.7 kB / 288.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.01599, allocations: 15.94 kB / 288.6 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.01602, allocations: 42.11 kB / 288.6 MB, free: 1.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.463e-06/0.01602, allocations: 0 / 288.6 MB, free: 1.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.1079/0.1239, allocations: 2.462 MB / 291.1 MB, free: 24.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.124, allocations: 85.66 kB / 291.1 MB, free: 24.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.1244, allocations: 496.4 kB / 291.6 MB, free: 24.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.1245, allocations: 39.39 kB / 291.7 MB, free: 24.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1246, allocations: 370.8 kB / 292 MB, free: 24.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1248, allocations: 217.2 kB / 292.2 MB, free: 24.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.1249, allocations: 120.1 kB / 292.4 MB, free: 24.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.125, allocations: 0.5338 MB / 292.9 MB, free: 23.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.1253, allocations: 108 kB / 293 MB, free: 23.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.1256, allocations: 235.8 kB / 293.2 MB, free: 23.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.1261, allocations: 378.7 kB / 293.6 MB, free: 23.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1261, allocations: 1.469 kB / 293.6 MB, free: 23.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.000865/0.127, allocations: 0.5091 MB / 294.1 MB, free: 23.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.127, allocations: 5.031 kB / 294.1 MB, free: 23.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.127, allocations: 3.438 kB / 294.1 MB, free: 23.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/0.1272, allocations: 43.83 kB / 294.2 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.1278, allocations: 161.3 kB / 294.3 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006766/0.1284, allocations: 1.78 MB / 296.1 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.1287, allocations: 33.28 kB / 296.1 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.1288, allocations: 24.02 kB / 296.1 MB, free: 21.59 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.1289, allocations: 190.7 kB / 296.3 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.1291, allocations: 79.34 kB / 296.4 MB, free: 21.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000941/0.13, allocations: 0.5535 MB / 297 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.13, allocations: 7.719 kB / 297 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.13, allocations: 0 / 297 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.13, allocations: 4.062 kB / 297 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.1321, allocations: 1.272 MB / 298.2 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1322, allocations: 0.6562 kB / 298.2 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.1325, allocations: 105.5 kB / 298.4 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.1337, allocations: 332.7 kB / 298.7 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.1337, allocations: 22.97 kB / 298.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.1363, allocations: 2.822 MB / 301.5 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1363, allocations: 0 / 301.5 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.1378, allocations: 0.9711 MB / 302.5 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.138, allocations: 128 kB / 302.6 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.832e-05/0.138, allocations: 16.23 kB / 302.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.1384, allocations: 40.22 kB / 302.7 MB, free: 18.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.1385, allocations: 50.7 kB / 302.7 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.1385, allocations: 18.55 kB / 302.7 MB, free: 18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002908/0.1388, allocations: 335.3 kB / 303.1 MB, free: 17.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1388, allocations: 4 kB / 303.1 MB, free: 17.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000621/0.1395, allocations: 184.6 kB / 303.3 MB, free: 17.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002259/0.1397, allocations: 156.3 kB / 303.4 MB, free: 17.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007639/0.1404, allocations: 0.5377 MB / 303.9 MB, free: 17.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1404, allocations: 0 / 303.9 MB, free: 17.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.1409, allocations: 459.2 kB / 304.4 MB, free: 17.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.1415, allocations: 86.47 kB / 304.5 MB, free: 17.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.1435, allocations: 1.278 MB / 305.8 MB, free: 16.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.1437, allocations: 144.9 kB / 305.9 MB, free: 16.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.1439, allocations: 67.53 kB / 306 MB, free: 16.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.144, allocations: 53.09 kB / 306 MB, free: 16.36 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.144, allocations: 4 kB / 306 MB, free: 16.36 MB / 266.7 MB Notification: Performance of Templates: time 0.0128/0.1568, allocations: 10.08 MB / 316.1 MB, free: 9.289 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.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: 2.8387637049891055]