Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001102/0.001102, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002569, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009974/0.0009974, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002263, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8142/0.8142, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1314/0.9455, allocations: 49.48 MB / 220.6 MB, free: 1.449 MB / 218.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.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 3.938 kB / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.471e-05, allocations: 6.25 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.006756/0.006771, allocations: 3.242 MB / 225.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.008947, allocations: 1.324 MB / 226.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.009124, allocations: 8 kB / 226.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.01248, allocations: 162.9 kB / 226.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006426/0.01312, allocations: 314 kB / 226.9 MB, free: 11.1 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.01352, allocations: 255 kB / 227.1 MB, free: 10.85 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.01399, allocations: 461.9 kB / 227.6 MB, free: 10.39 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.01416, allocations: 103.4 kB / 227.7 MB, free: 10.3 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.01449, allocations: 323.8 kB / 228 MB, free: 9.98 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.01471, allocations: 175.5 kB / 228.2 MB, free: 9.809 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.01475, allocations: 36 kB / 228.2 MB, free: 9.773 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.01502, allocations: 151.8 kB / 228.3 MB, free: 9.625 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.01507, allocations: 59.75 kB / 228.4 MB, free: 9.566 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.01518, allocations: 107.8 kB / 228.5 MB, free: 9.461 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00345/0.01863, allocations: 366.7 kB / 228.9 MB, free: 9.102 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.01864, allocations: 0 / 228.9 MB, free: 9.102 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01864, allocations: 0 / 228.9 MB, free: 9.102 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.01865, allocations: 0 / 228.9 MB, free: 9.102 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001217/0.01987, allocations: 0.8127 MB / 229.7 MB, free: 8.246 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.45e-05/0.0199, allocations: 8.031 kB / 229.7 MB, free: 8.238 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/0.0203, allocations: 120.8 kB / 229.8 MB, free: 8.121 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.02053, allocations: 209.1 kB / 230 MB, free: 7.891 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.02055, allocations: 25.38 kB / 230 MB, free: 7.867 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.02059, allocations: 36.36 kB / 230.1 MB, free: 7.832 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.02092, allocations: 329.8 kB / 230.4 MB, free: 7.477 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.02093, allocations: 192 / 230.4 MB, free: 7.477 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.02095, allocations: 16.38 kB / 230.4 MB, free: 7.461 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.02096, allocations: 11.94 kB / 230.4 MB, free: 7.449 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.02109, allocations: 91.25 kB / 230.5 MB, free: 7.359 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.02521, allocations: 0.9879 MB / 231.5 MB, free: 6.301 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.02537, allocations: 113.2 kB / 231.6 MB, free: 6.172 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.02542, allocations: 37.7 kB / 231.6 MB, free: 6.129 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004352/0.02586, allocations: 489.1 kB / 232.1 MB, free: 5.637 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.02588, allocations: 38.56 kB / 232.2 MB, free: 5.59 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.02588, allocations: 4 kB / 232.2 MB, free: 5.586 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001871/0.02607, allocations: 109.6 kB / 232.3 MB, free: 5.473 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.0261, allocations: 85.09 kB / 232.4 MB, free: 5.371 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.02628, allocations: 259 kB / 232.6 MB, free: 5.109 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.02629, allocations: 29.7 kB / 232.6 MB, free: 5.074 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.02639, allocations: 231.9 kB / 232.9 MB, free: 4.844 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.02643, allocations: 59.53 kB / 232.9 MB, free: 4.785 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.02649, allocations: 65.89 kB / 233 MB, free: 4.711 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.02658, allocations: 342.7 kB / 233.3 MB, free: 4.367 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.02662, allocations: 24.64 kB / 233.3 MB, free: 4.344 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.02672, allocations: 158.4 kB / 233.5 MB, free: 4.129 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.0269, allocations: 224.8 kB / 233.7 MB, free: 3.848 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.0269, allocations: 3.938 kB / 233.7 MB, free: 3.844 MB / 234.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.003236/0.03014, allocations: 205.2 kB / 233.9 MB, free: 3.637 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.03015, allocations: 8 kB / 233.9 MB, free: 3.629 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.03016, allocations: 4 kB / 233.9 MB, free: 3.625 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.03017, allocations: 8 kB / 233.9 MB, free: 3.617 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.03043, allocations: 96.36 kB / 234 MB, free: 3.523 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.03044, allocations: 19.98 kB / 234.1 MB, free: 3.504 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.03057, allocations: 39.67 kB / 234.1 MB, free: 3.465 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.03059, allocations: 19.94 kB / 234.1 MB, free: 3.445 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 8.438e-05/0.03068, allocations: 125.8 kB / 234.2 MB, free: 3.312 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.03073, allocations: 23.97 kB / 234.3 MB, free: 3.289 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.03076, allocations: 29.8 kB / 234.3 MB, free: 3.258 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.03077, allocations: 0 / 234.3 MB, free: 3.258 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.03077, allocations: 0 / 234.3 MB, free: 3.258 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.03077, allocations: 4 kB / 234.3 MB, free: 3.254 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.03113, allocations: 307.3 kB / 234.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.03113, allocations: 320 / 234.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.03128, allocations: 55.89 kB / 234.6 MB, free: 2.871 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.0313, allocations: 27.75 kB / 234.7 MB, free: 2.844 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.03131, allocations: 4 kB / 234.7 MB, free: 2.84 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.03132, allocations: 8 kB / 234.7 MB, free: 2.832 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.03132, allocations: 3.938 kB / 234.7 MB, free: 2.828 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.03132, allocations: 0 / 234.7 MB, free: 2.828 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.03149, allocations: 307.4 kB / 235 MB, free: 2.508 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.0315, allocations: 4.062 kB / 235 MB, free: 2.504 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.03159, allocations: 12 kB / 235 MB, free: 2.492 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.03162, allocations: 19.91 kB / 235 MB, free: 2.473 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.03162, allocations: 4 kB / 235 MB, free: 2.469 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.681e-05/0.03168, allocations: 92.62 kB / 235.1 MB, free: 2.375 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03168, allocations: 4 kB / 235.1 MB, free: 2.371 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.0319, allocations: 83.78 kB / 235.2 MB, free: 2.289 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001076/0.03201, allocations: 88.41 kB / 235.3 MB, free: 2.195 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.03218, allocations: 126.7 kB / 235.4 MB, free: 2.074 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.03219, allocations: 4.312 kB / 235.4 MB, free: 2.07 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.86e-05/0.03224, allocations: 40.78 kB / 235.5 MB, free: 2.027 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.03252, allocations: 48.97 kB / 235.5 MB, free: 1.98 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.03573, allocations: 0.6085 MB / 236.1 MB, free: 1.336 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.274e-05/0.03578, allocations: 88.31 kB / 236.2 MB, free: 1.23 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 7.745e-05/0.03586, allocations: 34.95 kB / 236.2 MB, free: 1.199 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.03595, allocations: 91.36 kB / 236.3 MB, free: 1.109 MB / 234.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03595, allocations: 0 / 236.3 MB, free: 1.109 MB / 234.7 MB Notification: Performance of Templates: time 0.004699/0.04065, allocations: 2.515 MB / 238.8 MB, free: 14.62 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.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.468513887375593]