Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.0009863/0.0009863, allocations: 83.67 kB / 21.7 MB, free: 2.844 MB / 18.57 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.001041/0.001041, allocations: 163 kB / 24.99 MB, free: 9.273 MB / 18.57 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 0.916/0.916, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.825e-05, allocations: 5.125 kB / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003748/0.003766, allocations: 4.353 MB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.005745, allocations: 1.605 MB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004388/0.006184, allocations: 11.94 kB / 279 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.006564, allocations: 122.8 kB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007801/0.007344, allocations: 381.3 kB / 279.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.007733, allocations: 251.5 kB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008721/0.008605, allocations: 1.013 MB / 280.7 MB, free: 10 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.008856, allocations: 150.1 kB / 280.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006073/0.009463, allocations: 0.5574 MB / 281.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.009827, allocations: 343 kB / 281.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.121e-05/0.009919, allocations: 96 kB / 281.8 MB, free: 8.863 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.0102, allocations: 215.9 kB / 282.1 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.01031, allocations: 199.3 kB / 282.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.01052, allocations: 299.3 kB / 282.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007384/0.01126, allocations: 0.7046 MB / 283.2 MB, free: 7.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.01126, allocations: 0 / 283.2 MB, free: 7.457 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01127, allocations: 4 kB / 283.2 MB, free: 7.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.01128, allocations: 0 / 283.2 MB, free: 7.453 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.00146/0.01274, allocations: 1.138 MB / 284.4 MB, free: 6.277 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.01278, allocations: 11.98 kB / 284.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.01302, allocations: 140.5 kB / 284.5 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.01352, allocations: 447.5 kB / 285 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.876e-05/0.01362, allocations: 123 kB / 285.1 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.01375, allocations: 68.73 kB / 285.2 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.0144, allocations: 0.574 MB / 285.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.01442, allocations: 7.875 kB / 285.7 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.01445, allocations: 20 kB / 285.8 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.01447, allocations: 12 kB / 285.8 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.01493, allocations: 287.6 kB / 286.1 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.01705, allocations: 2.046 MB / 288.1 MB, free: 2.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.0175, allocations: 317.1 kB / 288.4 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.01773, allocations: 143.8 kB / 288.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.01776, allocations: 16 kB / 288.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.01779, allocations: 42.11 kB / 288.6 MB, free: 1.824 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.613e-06/0.01779, allocations: 0 / 288.6 MB, free: 1.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.1107/0.1285, allocations: 2.467 MB / 291.1 MB, free: 27.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1285, allocations: 85.64 kB / 291.2 MB, free: 27.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.129, allocations: 0.4941 MB / 291.7 MB, free: 27.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/0.129, allocations: 35.67 kB / 291.7 MB, free: 27.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1291, allocations: 365.8 kB / 292 MB, free: 27.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.1292, allocations: 220.3 kB / 292.3 MB, free: 27.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.1294, allocations: 119.8 kB / 292.4 MB, free: 27.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.1295, allocations: 0.5372 MB / 292.9 MB, free: 26.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.1297, allocations: 103.4 kB / 293 MB, free: 26.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.1299, allocations: 236 kB / 293.2 MB, free: 26.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.1304, allocations: 377 kB / 293.6 MB, free: 26.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1304, allocations: 1.094 kB / 293.6 MB, free: 26.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007678/0.1312, allocations: 0.5003 MB / 294.1 MB, free: 26.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1312, allocations: 5.719 kB / 294.1 MB, free: 26.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1312, allocations: 3.984 kB / 294.1 MB, free: 26.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.1314, allocations: 47.38 kB / 294.2 MB, free: 26.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.1319, allocations: 160.5 kB / 294.3 MB, free: 26.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006362/0.1325, allocations: 1.774 MB / 296.1 MB, free: 24.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.1328, allocations: 28.88 kB / 296.1 MB, free: 24.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.1328, allocations: 28.52 kB / 296.2 MB, free: 24.58 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.0001484/0.133, allocations: 189.9 kB / 296.3 MB, free: 24.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1331, allocations: 82.75 kB / 296.4 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/0.1339, allocations: 0.5527 MB / 297 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1339, allocations: 7.406 kB / 297 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1339, allocations: 1.156 kB / 297 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1339, allocations: 3.562 kB / 297 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.1358, allocations: 1.282 MB / 298.3 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1358, allocations: 1.688 kB / 298.3 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.1361, allocations: 104.5 kB / 298.4 MB, free: 23.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009935/0.1371, allocations: 338.2 kB / 298.7 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.1371, allocations: 15.33 kB / 298.7 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.1395, allocations: 2.813 MB / 301.5 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1395, allocations: 2.031 kB / 301.5 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.1408, allocations: 0.9773 MB / 302.5 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.141, allocations: 136.4 kB / 302.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.141, allocations: 17.36 kB / 302.7 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.1413, allocations: 38.55 kB / 302.7 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.1414, allocations: 50.77 kB / 302.7 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.1414, allocations: 22.62 kB / 302.8 MB, free: 20.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002688/0.1417, allocations: 340.3 kB / 303.1 MB, free: 20.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1417, allocations: 0 / 303.1 MB, free: 20.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005272/0.1422, allocations: 185.7 kB / 303.3 MB, free: 20.42 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.0002287/0.1425, allocations: 148.4 kB / 303.4 MB, free: 20.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007177/0.1432, allocations: 0.5372 MB / 304 MB, free: 20.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1432, allocations: 0 / 304 MB, free: 20.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.1436, allocations: 466.2 kB / 304.4 MB, free: 19.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.144, allocations: 79.86 kB / 304.5 MB, free: 19.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1459, allocations: 1.282 MB / 305.8 MB, free: 19.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.146, allocations: 144.6 kB / 305.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.1462, allocations: 70.27 kB / 306 MB, free: 18.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.1463, allocations: 48.86 kB / 306 MB, free: 18.93 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1463, allocations: 0 / 306 MB, free: 18.93 MB / 266.7 MB Notification: Performance of Templates: time 0.01086/0.1572, allocations: 9.713 MB / 315.8 MB, free: 11.26 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.0358739101793617]