Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009631/0.0009631, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001643/0.001643, allocations: 171.2 kB / 25.61 MB, free: 8.887 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 0.9676/0.9676, allocations: 158.6 MB / 187.5 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.281e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003996/0.004018, allocations: 4.196 MB / 255.7 MB, free: 3.031 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.006271, allocations: 1.594 MB / 257.3 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003307/0.006602, allocations: 11.94 kB / 257.3 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.00695, allocations: 122.8 kB / 257.4 MB, free: 1.285 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007326/0.007682, allocations: 381.3 kB / 257.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.00801, allocations: 239.5 kB / 258 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000755/0.008766, allocations: 1.005 MB / 259 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.008992, allocations: 146.1 kB / 259.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.009543, allocations: 0.5536 MB / 259.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.009888, allocations: 339.1 kB / 260 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-05/0.009979, allocations: 92 kB / 260.1 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.01032, allocations: 215.8 kB / 260.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.01045, allocations: 195.3 kB / 260.5 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.01067, allocations: 295.3 kB / 260.8 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007004/0.01137, allocations: 0.7046 MB / 261.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.01138, allocations: 4 kB / 261.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01138, allocations: 0 / 261.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.01139, allocations: 0 / 261.5 MB, free: 13.13 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001383/0.01277, allocations: 1.142 MB / 262.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.01281, allocations: 19.98 kB / 262.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.01295, allocations: 124.5 kB / 262.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.01338, allocations: 426.2 kB / 263.2 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.848e-05/0.01347, allocations: 123 kB / 263.3 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.0136, allocations: 68.73 kB / 263.4 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.01413, allocations: 0.5348 MB / 263.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.01415, allocations: 3.938 kB / 263.9 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.01419, allocations: 31.98 kB / 264 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.0142, allocations: 12 kB / 264 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.01451, allocations: 234.1 kB / 264.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.01652, allocations: 1.965 MB / 266.2 MB, free: 8.254 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.01688, allocations: 290.2 kB / 266.5 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.01706, allocations: 131.7 kB / 266.6 MB, free: 7.812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.01708, allocations: 12 kB / 266.6 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.01711, allocations: 41.39 kB / 266.6 MB, free: 7.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 2.354e-06/0.01711, allocations: 0 / 266.6 MB, free: 7.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.005222/0.02233, allocations: 2.202 MB / 268.8 MB, free: 5.508 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.02237, allocations: 85.61 kB / 268.9 MB, free: 5.406 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.02273, allocations: 478.3 kB / 269.4 MB, free: 4.926 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.02276, allocations: 33.7 kB / 269.4 MB, free: 4.887 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.02292, allocations: 379.4 kB / 269.8 MB, free: 4.512 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.02304, allocations: 214.1 kB / 270 MB, free: 4.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.02317, allocations: 127.9 kB / 270.1 MB, free: 4.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.02332, allocations: 0.5468 MB / 270.7 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.02344, allocations: 81.23 kB / 270.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.02362, allocations: 211.6 kB / 271 MB, free: 3.277 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.02396, allocations: 336.8 kB / 271.3 MB, free: 2.898 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.02396, allocations: 0 / 271.3 MB, free: 2.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008571/0.02482, allocations: 448.4 kB / 271.7 MB, free: 2.449 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.02484, allocations: 4 kB / 271.7 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.02484, allocations: 4 kB / 271.7 MB, free: 2.441 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.025, allocations: 59.92 kB / 271.8 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.02539, allocations: 155.8 kB / 271.9 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007918/0.02618, allocations: 1.749 MB / 273.7 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.02641, allocations: 43.92 kB / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.02644, allocations: 19.98 kB / 273.8 MB, free: 304 kB / 250.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.0001606/0.0266, allocations: 196.4 kB / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/0.0267, allocations: 83.56 kB / 274 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.02733, allocations: 0.4948 MB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.02734, allocations: 8.141 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.02734, allocations: 0 / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.02735, allocations: 7.969 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.02894, allocations: 1.151 MB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.02895, allocations: 0 / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.0292, allocations: 103.9 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008564/0.03006, allocations: 338.2 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.03009, allocations: 12 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.03258, allocations: 2.755 MB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.03258, allocations: 3.984 kB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.0336, allocations: 0.9005 MB / 279.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.03379, allocations: 127.5 kB / 279.9 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.03384, allocations: 16 kB / 279.9 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.03408, allocations: 39.97 kB / 280 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.03417, allocations: 48.56 kB / 280 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.03419, allocations: 16 kB / 280 MB, free: 9.816 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.03438, allocations: 307 kB / 280.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03438, allocations: 0 / 280.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005124/0.03489, allocations: 184.1 kB / 280.5 MB, free: 9.34 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.0002773/0.03517, allocations: 155.1 kB / 280.7 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005605/0.03573, allocations: 495.2 kB / 281.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.03573, allocations: 0.625 kB / 281.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.03612, allocations: 446.2 kB / 281.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.03654, allocations: 93.78 kB / 281.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.03838, allocations: 1.256 MB / 282.9 MB, free: 6.832 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.92e-05/0.03848, allocations: 140.3 kB / 283.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.03867, allocations: 68.66 kB / 283.1 MB, free: 6.605 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.03894, allocations: 174.1 kB / 283.3 MB, free: 6.434 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03894, allocations: 0 / 283.3 MB, free: 6.434 MB / 266.7 MB Notification: Performance of Templates: time 0.01329/0.05223, allocations: 10.25 MB / 293.6 MB, free: 12.21 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9430842781439424]