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.002549/0.002549, allocations: 103.5 kB / 21.74 MB, free: 2.684 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.002903/0.002903, allocations: 168.1 kB / 25.03 MB, free: 8.414 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 1.409/1.409, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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 1.653e-06/1.653e-06, allocations: 0 / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.115e-05, allocations: 2.312 kB / 250.4 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.008638/0.008669, allocations: 3.31 MB / 253.7 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.01176, allocations: 1.38 MB / 255.1 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.01206, allocations: 8 kB / 255.1 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003878/0.01594, allocations: 2.67 MB / 257.7 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006041/0.01654, allocations: 182.6 kB / 257.9 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007325/0.01727, allocations: 291.2 kB / 258.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002167/0.01944, allocations: 1.805 MB / 260 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.01991, allocations: 87.69 kB / 260.1 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005979/0.02051, allocations: 421.1 kB / 260.5 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000452/0.02096, allocations: 299.2 kB / 260.8 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.02107, allocations: 44 kB / 260.8 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.02126, allocations: 75.92 kB / 260.9 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008225/0.02208, allocations: 0.861 MB / 261.8 MB, free: 8.465 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000574/0.02266, allocations: 478.1 kB / 262.3 MB, free: 7.996 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.02546, allocations: 2.48 MB / 264.7 MB, free: 5.508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.02547, allocations: 0 / 264.7 MB, free: 5.508 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.02547, allocations: 0 / 264.7 MB, free: 5.508 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.02549, allocations: 7.938 kB / 264.7 MB, free: 5.5 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.005338/0.03083, allocations: 3.239 MB / 268 MB, free: 2.207 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.03087, allocations: 8.031 kB / 268 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004818/0.03135, allocations: 323 kB / 268.3 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.0338, allocations: 1.3 MB / 269.6 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.03394, allocations: 118.7 kB / 269.7 MB, free: 416 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.03414, allocations: 48.73 kB / 269.8 MB, free: 368 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008321/0.03497, allocations: 454.8 kB / 270.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.03499, allocations: 0 / 270.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.03503, allocations: 16 kB / 270.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.03505, allocations: 8 kB / 270.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006969/0.03574, allocations: 303.8 kB / 270.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005591/0.04133, allocations: 3.084 MB / 273.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/0.04199, allocations: 313.8 kB / 273.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.04229, allocations: 147.3 kB / 274.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.04234, allocations: 8 kB / 274.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.04238, allocations: 41.38 kB / 274.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.795e-06/0.04238, allocations: 0 / 274.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.004911/0.0473, allocations: 2.299 MB / 276.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.04737, allocations: 81.61 kB / 276.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006146/0.05351, allocations: 3.961 MB / 280.5 MB, free: 5.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.944e-05/0.0536, allocations: 33.7 kB / 280.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002006/0.05561, allocations: 1.568 MB / 282.1 MB, free: 3.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.05582, allocations: 178.5 kB / 282.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.05601, allocations: 111.8 kB / 282.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002704/0.05628, allocations: 0.5082 MB / 282.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.05661, allocations: 124.9 kB / 283 MB, free: 2.887 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.05702, allocations: 238.6 kB / 283.2 MB, free: 2.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007309/0.05775, allocations: 399 kB / 283.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.05776, allocations: 0 / 283.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001321/0.05908, allocations: 0.6869 MB / 284.3 MB, free: 1.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.0591, allocations: 8 kB / 284.3 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.05911, allocations: 256 / 284.3 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.05913, allocations: 8 kB / 284.3 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.05966, allocations: 115.9 kB / 284.4 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.05967, allocations: 7.938 kB / 284.4 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.06011, allocations: 16 kB / 284.4 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.06015, allocations: 19.98 kB / 284.4 MB, free: 1.324 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.0004302/0.06058, allocations: 212.5 kB / 284.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004421/0.06102, allocations: 298.1 kB / 284.9 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.06242, allocations: 0.6578 MB / 285.6 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.06243, allocations: 4 kB / 285.6 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.06244, allocations: 4 kB / 285.6 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.06245, allocations: 3.984 kB / 285.6 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.06534, allocations: 1.931 MB / 287.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.06534, allocations: 0 / 287.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/0.06579, allocations: 95.88 kB / 287.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003636/0.06616, allocations: 87.62 kB / 287.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.06619, allocations: 12 kB / 287.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008105/0.067, allocations: 0.8897 MB / 288.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.06701, allocations: 4 kB / 288.6 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.06892, allocations: 1.145 MB / 289.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.06996, allocations: 406 kB / 290.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.07013, allocations: 12 kB / 290.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.07058, allocations: 15.98 kB / 290.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.07067, allocations: 36.38 kB / 290.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.0707, allocations: 12 kB / 290.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.003709/0.07441, allocations: 2.193 MB / 292.4 MB, free: 9.203 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.07441, allocations: 0 / 292.4 MB, free: 9.203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007278/0.07514, allocations: 200 kB / 292.6 MB, free: 9.008 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.003/0.07814, allocations: 449.9 kB / 293.1 MB, free: 8.602 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008579/0.079, allocations: 366.9 kB / 293.4 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.079, allocations: 0 / 293.4 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.07948, allocations: 213.1 kB / 293.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.08056, allocations: 195 kB / 293.8 MB, free: 7.836 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.08691, allocations: 3.992 MB / 297.8 MB, free: 3.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.08842, allocations: 1.14 MB / 299 MB, free: 2.605 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006483/0.08906, allocations: 171.5 kB / 299.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.08937, allocations: 92.48 kB / 299.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of SimCode: time 1.944e-06/0.08937, allocations: 0 / 299.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of Templates: time 0.1377/0.2271, allocations: 15.05 MB / 314.3 MB, free: 50.91 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.862643792992458]