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.001542/0.001542, allocations: 75.75 kB / 21.97 MB, free: 2.598 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.001814/0.001814, allocations: 168.2 kB / 25.33 MB, free: 8.137 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.8809/0.8809, allocations: 158.6 MB / 187.2 MB, free: 2.926 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 2.004e-06/2.004e-06, allocations: 0 / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.596e-05, allocations: 6.25 kB / 251 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004146/0.004172, allocations: 4.266 MB / 255.3 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.006364, allocations: 1.61 MB / 256.9 MB, free: 1.586 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.006636, allocations: 11.94 kB / 256.9 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.006949, allocations: 126.8 kB / 257.1 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006363/0.007585, allocations: 377.3 kB / 257.4 MB, free: 1.078 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.007985, allocations: 239.6 kB / 257.7 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007553/0.008741, allocations: 1.005 MB / 258.7 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.009002, allocations: 142.1 kB / 258.8 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006359/0.009638, allocations: 0.5574 MB / 259.4 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.01002, allocations: 343.1 kB / 259.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.01012, allocations: 100 kB / 259.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.01039, allocations: 203.9 kB / 260 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.0105, allocations: 203.3 kB / 260.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.0107, allocations: 291.3 kB / 260.5 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006939/0.01139, allocations: 0.7162 MB / 261.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.0114, allocations: 0 / 261.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.0114, allocations: 0 / 261.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.01141, allocations: 0 / 261.2 MB, free: 13.29 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.001424/0.01283, allocations: 1.138 MB / 262.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.01287, allocations: 19.98 kB / 262.4 MB, free: 12.1 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.01302, allocations: 120.5 kB / 262.5 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.01351, allocations: 435.5 kB / 262.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.01362, allocations: 131 kB / 263 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.01376, allocations: 68.73 kB / 263.1 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.01438, allocations: 0.5662 MB / 263.7 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.0144, allocations: 11.88 kB / 263.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.01443, allocations: 24 kB / 263.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.01445, allocations: 12 kB / 263.7 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/0.01487, allocations: 279.6 kB / 264 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.01705, allocations: 2.05 MB / 266 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.01748, allocations: 310.2 kB / 266.3 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.01771, allocations: 155.7 kB / 266.5 MB, free: 7.746 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.01774, allocations: 7.984 kB / 266.5 MB, free: 7.738 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.01777, allocations: 45.39 kB / 266.5 MB, free: 7.684 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 1.493e-06/0.01777, allocations: 0 / 266.5 MB, free: 7.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.005288/0.02306, allocations: 2.462 MB / 269 MB, free: 5.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.02309, allocations: 89.55 kB / 269.1 MB, free: 5.074 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.02347, allocations: 498.6 kB / 269.6 MB, free: 4.574 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.02351, allocations: 33.7 kB / 269.6 MB, free: 4.535 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.02367, allocations: 375.7 kB / 270 MB, free: 4.164 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.02379, allocations: 214.1 kB / 270.2 MB, free: 3.953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.02392, allocations: 124 kB / 270.3 MB, free: 3.824 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.02408, allocations: 0.539 MB / 270.8 MB, free: 3.273 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.02427, allocations: 101.2 kB / 270.9 MB, free: 3.176 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.02451, allocations: 235.7 kB / 271.2 MB, free: 2.898 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.02498, allocations: 380.8 kB / 271.5 MB, free: 2.477 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.02498, allocations: 0 / 271.5 MB, free: 2.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007675/0.02575, allocations: 0.4925 MB / 272 MB, free: 1.973 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.02577, allocations: 4.312 kB / 272 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.02577, allocations: 8 kB / 272 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.02598, allocations: 51.58 kB / 272.1 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.02638, allocations: 159.8 kB / 272.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000865/0.02725, allocations: 1.772 MB / 274 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.02749, allocations: 35.94 kB / 274.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.02752, allocations: 23.98 kB / 274.1 MB, free: 15.79 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.0001594/0.02768, allocations: 200.3 kB / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-05/0.02778, allocations: 83.66 kB / 274.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007526/0.02853, allocations: 0.5416 MB / 274.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.02854, allocations: 8 kB / 274.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.02854, allocations: 0 / 274.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.02855, allocations: 3.984 kB / 274.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.03031, allocations: 1.276 MB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.03032, allocations: 0 / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.03057, allocations: 111.8 kB / 276.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008721/0.03144, allocations: 335.2 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.03148, allocations: 23.98 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.03389, allocations: 2.817 MB / 279.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.03389, allocations: 0 / 279.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.0351, allocations: 0.9824 MB / 280.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.03527, allocations: 131.5 kB / 280.6 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.03532, allocations: 15.94 kB / 280.6 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.03557, allocations: 39.98 kB / 280.6 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.03566, allocations: 48.55 kB / 280.7 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.03569, allocations: 20 kB / 280.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002402/0.03593, allocations: 339 kB / 281 MB, free: 8.629 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03593, allocations: 0 / 281 MB, free: 8.629 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000449/0.03637, allocations: 184.1 kB / 281.2 MB, free: 8.449 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.0002358/0.03661, allocations: 159 kB / 281.4 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006611/0.03727, allocations: 0.5266 MB / 281.9 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.03727, allocations: 4.625 kB / 281.9 MB, free: 7.734 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.03769, allocations: 458.3 kB / 282.3 MB, free: 7.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.03809, allocations: 89.75 kB / 282.4 MB, free: 7.184 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.03989, allocations: 1.264 MB / 283.7 MB, free: 5.879 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.556e-05/0.03999, allocations: 144.3 kB / 283.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.04016, allocations: 72.58 kB / 283.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.04028, allocations: 56.47 kB / 284 MB, free: 5.59 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.04028, allocations: 0 / 284 MB, free: 5.59 MB / 266.7 MB Notification: Performance of Templates: time 0.01159/0.05187, allocations: 9.698 MB / 293.7 MB, free: 11.92 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: 3.112031272612512]