Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009238/0.0009238, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002579, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009673/0.0009673, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002453, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8408/0.8408, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1495/0.9903, allocations: 52.48 MB / 238.5 MB, free: 7.645 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.649e-05, allocations: 2.312 kB / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003605/0.003621, allocations: 4.322 MB / 244.1 MB, free: 2.055 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.005648, allocations: 1.632 MB / 245.7 MB, free: 428 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.005872, allocations: 7.938 kB / 245.7 MB, free: 420 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004619/0.006334, allocations: 122.8 kB / 245.8 MB, free: 296 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005341/0.006868, allocations: 376.6 kB / 246.2 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.007159, allocations: 229.7 kB / 246.4 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006652/0.007824, allocations: 1.002 MB / 247.4 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.008025, allocations: 156.6 kB / 247.6 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005978/0.008623, allocations: 0.6622 MB / 248.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.00896, allocations: 336.8 kB / 248.6 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.143e-05/0.009052, allocations: 92 kB / 248.7 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.00935, allocations: 215.9 kB / 248.9 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.084e-05/0.009441, allocations: 148.7 kB / 249 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.009605, allocations: 239.6 kB / 249.2 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005415/0.01015, allocations: 0.6307 MB / 249.9 MB, free: 12.23 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.01016, allocations: 1 kB / 249.9 MB, free: 12.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01016, allocations: 3.938 kB / 249.9 MB, free: 12.23 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.01017, allocations: 1 kB / 249.9 MB, free: 12.23 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.001242/0.01141, allocations: 1.152 MB / 251 MB, free: 11.06 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.662e-05/0.01144, allocations: 12.03 kB / 251 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.01155, allocations: 100.9 kB / 251.1 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.01191, allocations: 322.3 kB / 251.5 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.21e-05/0.012, allocations: 131 kB / 251.6 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.01211, allocations: 68.73 kB / 251.7 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.01257, allocations: 0.5354 MB / 252.2 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.01258, allocations: 3.938 kB / 252.2 MB, free: 9.809 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.01261, allocations: 24 kB / 252.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.01262, allocations: 12 kB / 252.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.01287, allocations: 198.2 kB / 252.4 MB, free: 9.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.01467, allocations: 1.49 MB / 253.9 MB, free: 8.016 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.01495, allocations: 256.6 kB / 254.2 MB, free: 7.746 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.01508, allocations: 114.1 kB / 254.3 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.0151, allocations: 8 kB / 254.3 MB, free: 7.621 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.01513, allocations: 38.56 kB / 254.3 MB, free: 7.574 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 1.964e-06/0.01513, allocations: 4 kB / 254.3 MB, free: 7.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.005326/0.02045, allocations: 2.526 MB / 256.8 MB, free: 5.016 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.02049, allocations: 89.61 kB / 256.9 MB, free: 4.91 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.02076, allocations: 412.8 kB / 257.3 MB, free: 4.492 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.0208, allocations: 37.7 kB / 257.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.02091, allocations: 273.7 kB / 257.6 MB, free: 4.176 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.02102, allocations: 218.1 kB / 257.9 MB, free: 3.961 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.02113, allocations: 110.3 kB / 258 MB, free: 3.848 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.02124, allocations: 374.6 kB / 258.3 MB, free: 3.473 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.02134, allocations: 73.27 kB / 258.4 MB, free: 3.398 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.02148, allocations: 172.5 kB / 258.6 MB, free: 3.195 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.02177, allocations: 306.2 kB / 258.9 MB, free: 2.867 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.02177, allocations: 0 / 258.9 MB, free: 2.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0003688/0.02214, allocations: 345.9 kB / 259.2 MB, free: 2.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.02215, allocations: 8 kB / 259.2 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.02216, allocations: 0 / 259.2 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/0.0223, allocations: 45.14 kB / 259.3 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.02276, allocations: 215.6 kB / 259.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008689/0.02363, allocations: 1.19 MB / 260.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.02383, allocations: 35.98 kB / 260.7 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.02386, allocations: 20 kB / 260.7 MB, free: 0.9141 MB / 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.0001263/0.02399, allocations: 149.7 kB / 260.9 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/0.02406, allocations: 55.89 kB / 260.9 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/0.02455, allocations: 423.9 kB / 261.3 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.02455, allocations: 8 kB / 261.3 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.02455, allocations: 0 / 261.3 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.02456, allocations: 7.984 kB / 261.3 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.0258, allocations: 0.8994 MB / 262.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.0258, allocations: 4 kB / 262.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.02609, allocations: 140.9 kB / 262.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.02621, allocations: 63.61 kB / 262.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008256/0.02704, allocations: 336.5 kB / 262.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.02707, allocations: 11.98 kB / 262.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.02878, allocations: 1.985 MB / 264.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02878, allocations: 0 / 264.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.02959, allocations: 0.7142 MB / 265.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.02964, allocations: 16 kB / 265.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.02985, allocations: 35.98 kB / 265.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.02994, allocations: 52.55 kB / 265.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.02996, allocations: 12 kB / 265.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.03011, allocations: 183.5 kB / 265.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03011, allocations: 0 / 265.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004157/0.03052, allocations: 184.1 kB / 266 MB, free: 11.52 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.0002034/0.03073, allocations: 144.3 kB / 266.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.03117, allocations: 431.5 kB / 266.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.977e-05/0.03119, allocations: 15.92 kB / 266.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.03155, allocations: 401.5 kB / 266.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008028/0.03235, allocations: 0.7176 MB / 267.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.03673, allocations: 1.265 MB / 268.9 MB, free: 8.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.03684, allocations: 148.3 kB / 269.1 MB, free: 8.203 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.03704, allocations: 72.67 kB / 269.1 MB, free: 8.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.0373, allocations: 151.3 kB / 269.3 MB, free: 7.98 MB / 266.7 MB Notification: Performance of SimCode: time 1.593e-06/0.0373, allocations: 0 / 269.3 MB, free: 7.98 MB / 266.7 MB Notification: Performance of Templates: time 0.01465/0.05196, allocations: 10.76 MB / 280 MB, free: 13.38 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.654107832349837]