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.0009129/0.0009129, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001057/0.001057, allocations: 169.2 kB / 24.91 MB, free: 9.184 MB / 18.57 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 0.9042/0.9042, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.133e-06/1.133e-06, allocations: 0 / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.267e-06/1.04e-05, allocations: 2.312 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003004/0.003014, allocations: 3.46 MB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.004671, allocations: 1.671 MB / 278.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.004804, allocations: 8 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.006837, allocations: 3.138 MB / 281.8 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.007141, allocations: 226.3 kB / 282 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.007514, allocations: 319.2 kB / 282.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009454/0.00846, allocations: 1.63 MB / 283.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.008592, allocations: 101 kB / 284 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000658/0.009249, allocations: 0.4899 MB / 284.5 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.009494, allocations: 295.3 kB / 284.8 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.009544, allocations: 48 kB / 284.8 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.009663, allocations: 91.91 kB / 284.9 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.01003, allocations: 0.861 MB / 285.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.01029, allocations: 478 kB / 286.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008708/0.01116, allocations: 1.502 MB / 287.8 MB, free: 2.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.01116, allocations: 0 / 287.8 MB, free: 2.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01116, allocations: 0 / 287.8 MB, free: 2.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.01118, allocations: 0 / 287.8 MB, free: 2.945 MB / 266.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.001792/0.01297, allocations: 2.666 MB / 290.4 MB, free: 240 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.533e-05/0.013, allocations: 11.98 kB / 290.4 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.01321, allocations: 184.7 kB / 290.6 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09598/0.1092, allocations: 1.129 MB / 291.8 MB, free: 20.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/0.1093, allocations: 110.3 kB / 291.9 MB, free: 20.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.1095, allocations: 49.7 kB / 291.9 MB, free: 20.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.11, allocations: 357.1 kB / 292.3 MB, free: 19.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.11, allocations: 1.875 kB / 292.3 MB, free: 19.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.11, allocations: 16.09 kB / 292.3 MB, free: 19.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.11, allocations: 13.88 kB / 292.3 MB, free: 19.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.1103, allocations: 141.9 kB / 292.4 MB, free: 19.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.1132, allocations: 1.426 MB / 293.9 MB, free: 19.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.1135, allocations: 198.5 kB / 294 MB, free: 19.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.1136, allocations: 83.05 kB / 294.1 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.1137, allocations: 9.75 kB / 294.1 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1137, allocations: 38.69 kB / 294.2 MB, free: 19.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.974e-06/0.1137, allocations: 0.6875 kB / 294.2 MB, free: 19.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.002399/0.1161, allocations: 1.172 MB / 295.3 MB, free: 19.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.1161, allocations: 83.52 kB / 295.4 MB, free: 18.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.1186, allocations: 2.964 MB / 298.4 MB, free: 18.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1186, allocations: 39.05 kB / 298.4 MB, free: 18.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.1189, allocations: 0.5294 MB / 299 MB, free: 18.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.1189, allocations: 173 kB / 299.1 MB, free: 18.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/0.119, allocations: 91.91 kB / 299.2 MB, free: 18.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.379e-05/0.1191, allocations: 331.5 kB / 299.5 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.1191, allocations: 46.88 kB / 299.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.1192, allocations: 131.8 kB / 299.7 MB, free: 18.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.1194, allocations: 225.1 kB / 299.9 MB, free: 17.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1194, allocations: 0.8125 kB / 299.9 MB, free: 17.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003887/0.1198, allocations: 368.2 kB / 300.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1198, allocations: 6.625 kB / 300.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1198, allocations: 2.75 kB / 300.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1199, allocations: 4.125 kB / 300.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.1202, allocations: 148.2 kB / 300.5 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1202, allocations: 9.125 kB / 300.5 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1204, allocations: 13.78 kB / 300.5 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1204, allocations: 17.25 kB / 300.5 MB, free: 17.91 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.0001807/0.1206, allocations: 137.4 kB / 300.6 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.1207, allocations: 161.3 kB / 300.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005287/0.1212, allocations: 494.1 kB / 301.3 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1213, allocations: 5.125 kB / 301.3 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.1213, allocations: 0 / 301.3 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1213, allocations: 11.11 kB / 301.3 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007305/0.122, allocations: 0.7218 MB / 302 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.122, allocations: 0 / 302 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.1223, allocations: 117.9 kB / 302.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001544/0.1224, allocations: 72.34 kB / 302.2 MB, free: 17.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.1224, allocations: 12.61 kB / 302.2 MB, free: 17.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003964/0.1228, allocations: 0.8381 MB / 303 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1228, allocations: 1.531 kB / 303 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.1233, allocations: 0.6526 MB / 303.7 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.1236, allocations: 337.6 kB / 304 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.894e-05/0.1237, allocations: 10 kB / 304 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.1239, allocations: 16.97 kB / 304.1 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.124, allocations: 30.3 kB / 304.1 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.124, allocations: 9.797 kB / 304.1 MB, free: 16.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009142/0.1249, allocations: 1.455 MB / 305.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1249, allocations: 1.375 kB / 305.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003287/0.1252, allocations: 208.3 kB / 305.8 MB, free: 16.27 MB / 266.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.000993/0.1262, allocations: 0.5224 MB / 306.3 MB, free: 16.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1264, allocations: 211.5 kB / 306.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.902e-05/0.1264, allocations: 28.5 kB / 306.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.1266, allocations: 136.8 kB / 306.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.1272, allocations: 194.2 kB / 306.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.1301, allocations: 3.872 MB / 310.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1304, allocations: 0.5612 MB / 311.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002079/0.1306, allocations: 171.3 kB / 311.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.1309, allocations: 237.9 kB / 311.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1309, allocations: 0 / 311.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Templates: time 0.02046/0.1514, allocations: 16.42 MB / 328.1 MB, free: 12.44 MB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] 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","",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.7822585748508573]