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.001311/0.001311, allocations: 82.59 kB / 21.42 MB, free: 3.078 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.001087/0.001087, allocations: 168.1 kB / 24.82 MB, free: 9.328 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.9999/0.9999, allocations: 177 MB / 205.1 MB, free: 5.449 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.513e-06/1.513e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.45e-05, allocations: 2.312 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005343/0.005358, allocations: 4.289 MB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.007605, allocations: 1.601 MB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003074/0.007912, allocations: 11.94 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.008194, allocations: 118.9 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006033/0.008798, allocations: 385.3 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.009122, allocations: 243.5 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006231/0.009745, allocations: 1.009 MB / 281 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.009934, allocations: 154.1 kB / 281.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.01044, allocations: 0.569 MB / 281.7 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.01072, allocations: 331.1 kB / 282 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.739e-05/0.01081, allocations: 96 kB / 282.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.01105, allocations: 211.9 kB / 282.3 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.874e-05/0.01115, allocations: 199.3 kB / 282.5 MB, free: 7.977 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.01133, allocations: 295.3 kB / 282.8 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006625/0.01199, allocations: 0.7085 MB / 283.5 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01199, allocations: 7.984 kB / 283.5 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01199, allocations: 0 / 283.5 MB, free: 6.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.012, allocations: 0 / 283.5 MB, free: 6.969 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.001148/0.01315, allocations: 1.138 MB / 284.6 MB, free: 5.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.01318, allocations: 11.98 kB / 284.7 MB, free: 5.781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.01335, allocations: 132.5 kB / 284.8 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.0137, allocations: 430.2 kB / 285.2 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.01377, allocations: 134.9 kB / 285.3 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.01387, allocations: 68.73 kB / 285.4 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.01434, allocations: 0.5388 MB / 285.9 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.01435, allocations: 3.938 kB / 285.9 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.01438, allocations: 24 kB / 286 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.01439, allocations: 19.94 kB / 286 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.01466, allocations: 218.2 kB / 286.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.01666, allocations: 1.98 MB / 288.2 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.01695, allocations: 277.6 kB / 288.5 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.01709, allocations: 135.7 kB / 288.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.01711, allocations: 8 kB / 288.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.01713, allocations: 46.11 kB / 288.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.283e-06/0.01713, allocations: 0 / 288.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.1093/0.1264, allocations: 2.211 MB / 290.9 MB, free: 24.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1264, allocations: 84.7 kB / 290.9 MB, free: 24.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.1268, allocations: 474.1 kB / 291.4 MB, free: 24.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.1269, allocations: 38.08 kB / 291.4 MB, free: 24.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.127, allocations: 379.9 kB / 291.8 MB, free: 24.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.1271, allocations: 221 kB / 292 MB, free: 24.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1273, allocations: 121.1 kB / 292.1 MB, free: 24.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.1273, allocations: 0.5415 MB / 292.7 MB, free: 23.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1275, allocations: 77.92 kB / 292.8 MB, free: 23.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.1277, allocations: 219 kB / 293 MB, free: 23.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.128, allocations: 330.1 kB / 293.3 MB, free: 23.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.128, allocations: 1.062 kB / 293.3 MB, free: 23.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.000588/0.1286, allocations: 465.2 kB / 293.7 MB, free: 23.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1286, allocations: 6.469 kB / 293.8 MB, free: 23.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1286, allocations: 3.812 kB / 293.8 MB, free: 23.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.1288, allocations: 49.8 kB / 293.8 MB, free: 23.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.1292, allocations: 159.8 kB / 294 MB, free: 23.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005613/0.1297, allocations: 1.746 MB / 295.7 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.13, allocations: 33.58 kB / 295.7 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.13, allocations: 26.91 kB / 295.8 MB, free: 21.64 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.0001404/0.1302, allocations: 185.9 kB / 295.9 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1303, allocations: 80.81 kB / 296 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006315/0.1309, allocations: 0.4996 MB / 296.5 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1309, allocations: 11.72 kB / 296.5 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1309, allocations: 0.6094 kB / 296.5 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1309, allocations: 4.609 kB / 296.5 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.1325, allocations: 1.157 MB / 297.7 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1325, allocations: 1.062 kB / 297.7 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.1328, allocations: 108.3 kB / 297.8 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.134, allocations: 325.5 kB / 298.1 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.1341, allocations: 17.12 kB / 298.1 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.1361, allocations: 2.745 MB / 300.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1361, allocations: 4.953 kB / 300.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.1371, allocations: 0.9045 MB / 301.8 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.1373, allocations: 125.7 kB / 301.9 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.1373, allocations: 13.19 kB / 301.9 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.1375, allocations: 35.78 kB / 302 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.1376, allocations: 59.02 kB / 302 MB, free: 18.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.1377, allocations: 14.27 kB / 302 MB, free: 18.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.1379, allocations: 315.1 kB / 302.3 MB, free: 18.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1379, allocations: 0 / 302.3 MB, free: 18.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004609/0.1383, allocations: 187.6 kB / 302.5 MB, free: 18.35 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.0001805/0.1385, allocations: 153.3 kB / 302.7 MB, free: 18.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000496/0.139, allocations: 0.4883 MB / 303.2 MB, free: 18.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.139, allocations: 1.125 kB / 303.2 MB, free: 18.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.1393, allocations: 434.1 kB / 303.6 MB, free: 17.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1397, allocations: 85.41 kB / 303.7 MB, free: 17.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.1413, allocations: 1.27 MB / 304.9 MB, free: 17.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.149e-05/0.1414, allocations: 148.7 kB / 305.1 MB, free: 16.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001815/0.1416, allocations: 71.34 kB / 305.2 MB, free: 16.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.1418, allocations: 180.4 kB / 305.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1418, allocations: 0 / 305.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of Templates: time 0.01044/0.1523, allocations: 10.26 MB / 315.6 MB, free: 9.961 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: 2.9045740868896246]