Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001879/0.001879, allocations: 82.36 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002324/0.002324, allocations: 162.9 kB / 23.96 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 325.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.397e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004869/0.004893, allocations: 3.208 MB / 328.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.00811, allocations: 1.611 MB / 329.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.008377, allocations: 9.719 kB / 329.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003431/0.01181, allocations: 2.672 MB / 332.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007073/0.01251, allocations: 233.9 kB / 332.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008945/0.01341, allocations: 331 kB / 333.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.01558, allocations: 1.844 MB / 335 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.0158, allocations: 95.22 kB / 335.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000646/0.01645, allocations: 434.3 kB / 335.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.01689, allocations: 295.3 kB / 335.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.017, allocations: 44 kB / 335.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.01725, allocations: 95.91 kB / 335.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007696/0.01802, allocations: 0.8649 MB / 336.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005496/0.01857, allocations: 478 kB / 337.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00263/0.0212, allocations: 2.512 MB / 339.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.0212, allocations: 0 / 339.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.0212, allocations: 0 / 339.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.02123, allocations: 0 / 339.7 MB, free: 6.48 MB / 302.1 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.004143/0.02537, allocations: 2.808 MB / 342.6 MB, free: 3.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.02541, allocations: 15.92 kB / 342.6 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004673/0.02588, allocations: 310.9 kB / 342.9 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.02838, allocations: 1.797 MB / 344.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.0285, allocations: 114.7 kB / 344.8 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.02867, allocations: 40.75 kB / 344.8 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.02948, allocations: 450.3 kB / 345.3 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.0295, allocations: 7.875 kB / 345.3 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.02954, allocations: 16 kB / 345.3 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.02955, allocations: 12 kB / 345.3 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007639/0.03032, allocations: 327.8 kB / 345.6 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.03419, allocations: 2.565 MB / 348.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/0.03487, allocations: 293.1 kB / 348.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.03522, allocations: 157.7 kB / 348.6 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.03525, allocations: 4 kB / 348.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.03529, allocations: 46.5 kB / 348.7 MB, free: 13.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.804e-06/0.03529, allocations: 0 / 348.7 MB, free: 13.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.005112/0.0404, allocations: 2.399 MB / 351.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.04045, allocations: 81.61 kB / 351.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006605/0.04706, allocations: 5.465 MB / 356.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.04711, allocations: 33.7 kB / 356.6 MB, free: 5.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.04837, allocations: 1.172 MB / 357.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.04852, allocations: 170.5 kB / 358 MB, free: 3.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.04868, allocations: 90.19 kB / 358.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.04883, allocations: 322 kB / 358.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.0492, allocations: 140.9 kB / 358.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.04962, allocations: 229.1 kB / 358.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007818/0.0504, allocations: 377.5 kB / 359.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.0504, allocations: 8 kB / 359.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001278/0.05168, allocations: 0.6948 MB / 359.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.0517, allocations: 11.94 kB / 359.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.05171, allocations: 0 / 359.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.05174, allocations: 8.25 kB / 359.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.05228, allocations: 119.9 kB / 360 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.0523, allocations: 11.92 kB / 360 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.05274, allocations: 16 kB / 360 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.05278, allocations: 16 kB / 360 MB, free: 1.828 MB / 318.1 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.001154/0.05394, allocations: 0.9154 MB / 360.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000344/0.05428, allocations: 286.1 kB / 361.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.05586, allocations: 0.8113 MB / 362 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.05587, allocations: 7.938 kB / 362 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.05587, allocations: 0 / 362 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.05588, allocations: 4 kB / 362 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.05748, allocations: 1.173 MB / 363.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.05748, allocations: 4 kB / 363.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.05796, allocations: 95.88 kB / 363.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/0.05834, allocations: 96.78 kB / 363.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.05837, allocations: 15.98 kB / 363.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000649/0.05902, allocations: 0.6382 MB / 364 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.05902, allocations: 3.938 kB / 364 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.06086, allocations: 1.085 MB / 365.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000775/0.06163, allocations: 434 kB / 365.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.06182, allocations: 19.88 kB / 365.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/0.06231, allocations: 20.11 kB / 365.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.0624, allocations: 36.38 kB / 365.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.06243, allocations: 15.98 kB / 365.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.005023/0.06745, allocations: 3.986 MB / 369.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06745, allocations: 0 / 369.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007286/0.06818, allocations: 208 kB / 369.8 MB, free: 7.902 MB / 334.1 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.001699/0.06988, allocations: 433.5 kB / 370.3 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008644/0.07075, allocations: 358.4 kB / 370.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.07075, allocations: 7.875 kB / 370.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004891/0.07124, allocations: 198.8 kB / 370.8 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.07235, allocations: 190.3 kB / 371 MB, free: 6.914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007549/0.0799, allocations: 5.357 MB / 376.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/0.08147, allocations: 1.246 MB / 377.6 MB, free: 240 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005965/0.08207, allocations: 279.8 kB / 377.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/0.08235, allocations: 88.48 kB / 378 MB, free: 15.87 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.08235, allocations: 0 / 378 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Templates: time 0.03247/0.1148, allocations: 15.22 MB / 393.2 MB, free: 0.7266 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.703169897198677]