Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001468/0.001468, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.00156/0.00156, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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.9743/0.9743, allocations: 173.4 MB / 201.1 MB, free: 9.32 MB / 186.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.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.712e-05, allocations: 2.312 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003738/0.003765, allocations: 3.277 MB / 271.3 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.005642, allocations: 1.257 MB / 272.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.005841, allocations: 11.94 kB / 272.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.006236, allocations: 146.9 kB / 272.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009081/0.007144, allocations: 449.4 kB / 273.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.007446, allocations: 175.5 kB / 273.3 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005604/0.008007, allocations: 461.9 kB / 273.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.008174, allocations: 100.8 kB / 273.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.008463, allocations: 255.3 kB / 274.1 MB, free: 304 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.008661, allocations: 151.6 kB / 274.2 MB, free: 152 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.008707, allocations: 32 kB / 274.3 MB, free: 120 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.008995, allocations: 151.8 kB / 274.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.00906, allocations: 87.66 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.009164, allocations: 127.6 kB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.009667, allocations: 414.5 kB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.00967, allocations: 0 / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.009671, allocations: 7.938 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.009678, allocations: 0 / 275 MB, free: 15.34 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001012/0.01069, allocations: 0.7727 MB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.01073, allocations: 12.92 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004325/0.01116, allocations: 144.5 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.01148, allocations: 248.9 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.01151, allocations: 29.38 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.01158, allocations: 32.38 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.01198, allocations: 343.5 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.01199, allocations: 192 / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.01202, allocations: 12.38 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.01203, allocations: 15.88 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.01224, allocations: 134.8 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.01354, allocations: 1.214 MB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.01377, allocations: 154.2 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.01397, allocations: 59.33 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.0145, allocations: 0.69 MB / 278.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.01452, allocations: 41.33 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.01453, allocations: 0 / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002886/0.01481, allocations: 157.5 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.01485, allocations: 81.09 kB / 279.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.01506, allocations: 330.3 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.01507, allocations: 29.7 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.01519, allocations: 290.7 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.01522, allocations: 67.48 kB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.01529, allocations: 67.64 kB / 279.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01541, allocations: 0.5117 MB / 280.4 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.431e-05/0.01548, allocations: 32.62 kB / 280.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.01562, allocations: 230.9 kB / 280.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.01584, allocations: 289.1 kB / 281 MB, free: 8.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01584, allocations: 4.25 kB / 281 MB, free: 8.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002864/0.01613, allocations: 265.6 kB / 281.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.01615, allocations: 4 kB / 281.2 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01615, allocations: 12 kB / 281.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.01617, allocations: 8 kB / 281.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.01634, allocations: 75.84 kB / 281.3 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.01635, allocations: 11.98 kB / 281.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.01646, allocations: 39.72 kB / 281.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.01647, allocations: 12 kB / 281.4 MB, free: 8.492 MB / 266.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 9.873e-05/0.01657, allocations: 192.3 kB / 281.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.01662, allocations: 31.81 kB / 281.6 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.01666, allocations: 29.8 kB / 281.6 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01666, allocations: 4 kB / 281.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01667, allocations: 0 / 281.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.01667, allocations: 3.984 kB / 281.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.01708, allocations: 464.8 kB / 282.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01708, allocations: 0 / 282.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.0172, allocations: 39.97 kB / 282.1 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.0172, allocations: 0 / 282.1 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.01721, allocations: 8 kB / 282.2 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01721, allocations: 4.031 kB / 282.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01722, allocations: 4 kB / 282.2 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.01752, allocations: 441.3 kB / 282.6 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.01755, allocations: 19.86 kB / 282.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.01757, allocations: 11.98 kB / 282.6 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01768, allocations: 12 kB / 282.6 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.01772, allocations: 15.91 kB / 282.6 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.01772, allocations: 4 kB / 282.7 MB, free: 7.152 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001255/0.01785, allocations: 219 kB / 282.9 MB, free: 6.938 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01785, allocations: 4.031 kB / 282.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003004/0.01815, allocations: 87.78 kB / 283 MB, free: 6.848 MB / 266.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.0001266/0.01828, allocations: 115.2 kB / 283.1 MB, free: 6.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.0185, allocations: 147.5 kB / 283.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0185, allocations: 0 / 283.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.014e-05/0.01856, allocations: 55.59 kB / 283.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.01884, allocations: 24.98 kB / 283.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.01984, allocations: 0.6039 MB / 283.9 MB, free: 5.852 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.478e-05/0.01989, allocations: 84.31 kB / 284 MB, free: 5.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.548e-05/0.01997, allocations: 34.27 kB / 284 MB, free: 5.719 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.02002, allocations: 28.5 kB / 284 MB, free: 5.691 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02002, allocations: 0 / 284 MB, free: 5.691 MB / 266.7 MB Notification: Performance of Templates: time 0.004738/0.02476, allocations: 2.212 MB / 286.3 MB, free: 3.523 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 3.0567048988305032]