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.001317/0.001317, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.00141/0.00141, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.8445/0.8445, allocations: 177 MB / 205.2 MB, free: 5.062 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.031e-06/1.031e-06, allocations: 0 / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.127e-06/1.016e-05, allocations: 2.312 kB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003385/0.003395, allocations: 4.287 MB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.005215, allocations: 1.655 MB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.005402, allocations: 11.94 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.005642, allocations: 122.8 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.006165, allocations: 385.3 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.006434, allocations: 243.6 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005824/0.007016, allocations: 1.009 MB / 281.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.007196, allocations: 164 kB / 281.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/0.007629, allocations: 0.5613 MB / 281.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.007926, allocations: 343.1 kB / 282.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.084e-05/0.008007, allocations: 100 kB / 282.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.008219, allocations: 207.9 kB / 282.4 MB, free: 7.969 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.718e-05/0.008316, allocations: 195.3 kB / 282.6 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.008495, allocations: 295.3 kB / 282.9 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.00901, allocations: 0.7162 MB / 283.6 MB, free: 6.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.572e-06/0.009012, allocations: 0 / 283.6 MB, free: 6.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.009012, allocations: 0 / 283.6 MB, free: 6.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.009017, allocations: 0 / 283.6 MB, free: 6.77 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.001068/0.01008, allocations: 0.9978 MB / 284.6 MB, free: 5.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.01011, allocations: 19.98 kB / 284.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.01027, allocations: 108.8 kB / 284.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.01062, allocations: 322.3 kB / 285.1 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.01069, allocations: 127 kB / 285.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.01079, allocations: 72.69 kB / 285.3 MB, free: 5.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.0112, allocations: 0.5354 MB / 285.8 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.01122, allocations: 7.938 kB / 285.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.01125, allocations: 24 kB / 285.8 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.01126, allocations: 16 kB / 285.9 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.01151, allocations: 194.2 kB / 286 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.01295, allocations: 1.482 MB / 287.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.01321, allocations: 245.3 kB / 287.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.01334, allocations: 114 kB / 287.9 MB, free: 2.312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.01337, allocations: 8 kB / 287.9 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.01339, allocations: 39.28 kB / 287.9 MB, free: 2.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.01339, allocations: 0 / 287.9 MB, free: 2.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.09512/0.1085, allocations: 2.504 MB / 290.4 MB, free: 25.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1085, allocations: 87.84 kB / 290.5 MB, free: 25.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.109, allocations: 418 kB / 290.9 MB, free: 25.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.217e-05/0.1091, allocations: 37.86 kB / 291 MB, free: 25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1092, allocations: 272 kB / 291.2 MB, free: 24.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.1093, allocations: 219.9 kB / 291.4 MB, free: 24.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.1095, allocations: 112.3 kB / 291.5 MB, free: 24.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.1095, allocations: 373.5 kB / 291.9 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1097, allocations: 66.7 kB / 292 MB, free: 24.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.1098, allocations: 174.2 kB / 292.1 MB, free: 24.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.1102, allocations: 298 kB / 292.4 MB, free: 24.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1102, allocations: 1.156 kB / 292.4 MB, free: 24.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0005401/0.1107, allocations: 349.3 kB / 292.8 MB, free: 24.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1107, allocations: 6.719 kB / 292.8 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1107, allocations: 2.188 kB / 292.8 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.1109, allocations: 43.92 kB / 292.8 MB, free: 24.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.1113, allocations: 158.5 kB / 293 MB, free: 24.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005557/0.1119, allocations: 1.191 MB / 294.2 MB, free: 23.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.1122, allocations: 36.02 kB / 294.2 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.1122, allocations: 18.91 kB / 294.2 MB, free: 23.07 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.0001557/0.1124, allocations: 145.6 kB / 294.4 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.1125, allocations: 57.36 kB / 294.4 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006204/0.1131, allocations: 425.6 kB / 294.8 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1131, allocations: 10.62 kB / 294.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1131, allocations: 8.109 kB / 294.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1131, allocations: 4.266 kB / 294.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.1146, allocations: 0.892 MB / 295.8 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1146, allocations: 0 / 295.8 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.1149, allocations: 104.4 kB / 295.9 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008489/0.1157, allocations: 325.6 kB / 296.2 MB, free: 22.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.1158, allocations: 12.58 kB / 296.2 MB, free: 22.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.1174, allocations: 1.984 MB / 298.2 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1174, allocations: 4.906 kB / 298.2 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.1182, allocations: 0.7006 MB / 298.9 MB, free: 21.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.1184, allocations: 68.39 kB / 298.9 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.1184, allocations: 11.16 kB / 299 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.1187, allocations: 36.84 kB / 299 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.1188, allocations: 49.7 kB / 299 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.1188, allocations: 17.92 kB / 299.1 MB, free: 21.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001781/0.119, allocations: 189 kB / 299.2 MB, free: 21.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.119, allocations: 0 / 299.2 MB, free: 21.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004673/0.1194, allocations: 190.5 kB / 299.4 MB, free: 21.07 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.0001933/0.1196, allocations: 137.8 kB / 299.6 MB, free: 21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004597/0.1201, allocations: 412.3 kB / 300 MB, free: 20.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.1201, allocations: 4.281 kB / 300 MB, free: 20.87 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.1204, allocations: 369.6 kB / 300.3 MB, free: 20.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1207, allocations: 86.28 kB / 300.4 MB, free: 20.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.1223, allocations: 1.202 MB / 301.6 MB, free: 20.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.715e-05/0.1224, allocations: 144.7 kB / 301.8 MB, free: 20.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.1226, allocations: 66.88 kB / 301.8 MB, free: 20.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.1228, allocations: 146.8 kB / 302 MB, free: 20.01 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1228, allocations: 1.219 kB / 302 MB, free: 20.01 MB / 266.7 MB Notification: Performance of Templates: time 0.01093/0.1337, allocations: 10.22 MB / 312.2 MB, free: 13.65 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.6571453139185905]