Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.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.0009851/0.0009851, allocations: 73.42 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002488, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009477/0.0009477, allocations: 141 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004956/0.005904, allocations: 483.5 kB / 11.81 MB, free: 2.359 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.9684/0.9684, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.171/1.139, allocations: 52.48 MB / 238.5 MB, free: 7.633 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.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 3.984 kB / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.385e-05, allocations: 2.312 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002097/0.00212, allocations: 1.567 MB / 241.3 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003513, allocations: 0.8778 MB / 242.2 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.003574, allocations: 0 / 242.2 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.813e-05/0.003652, allocations: 11.86 kB / 242.2 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.007e-05/0.003712, allocations: 15.86 kB / 242.2 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.003908, allocations: 60.44 kB / 242.3 MB, free: 3.836 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.004093, allocations: 135.7 kB / 242.4 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.969e-05/0.004172, allocations: 26.72 kB / 242.4 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.004543, allocations: 395.3 kB / 242.8 MB, free: 3.293 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.004658, allocations: 59.81 kB / 242.9 MB, free: 3.234 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.004697, allocations: 8 kB / 242.9 MB, free: 3.227 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.747e-05/0.004724, allocations: 12 kB / 242.9 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.975e-05/0.004794, allocations: 63.78 kB / 243 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.004852, allocations: 47.75 kB / 243 MB, free: 3.105 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.005068, allocations: 255.9 kB / 243.3 MB, free: 2.855 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.005079, allocations: 0 / 243.3 MB, free: 2.855 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00508, allocations: 0.875 kB / 243.3 MB, free: 2.855 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.005093, allocations: 4 kB / 243.3 MB, free: 2.852 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006041/0.005697, allocations: 0.669 MB / 243.9 MB, free: 2.133 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.005728, allocations: 9 kB / 243.9 MB, free: 2.125 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.005788, allocations: 32.91 kB / 244 MB, free: 2.094 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.005981, allocations: 212.8 kB / 244.2 MB, free: 1.859 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.006005, allocations: 4.375 kB / 244.2 MB, free: 1.855 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.006025, allocations: 9.875 kB / 244.2 MB, free: 1.848 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.006313, allocations: 233.7 kB / 244.4 MB, free: 1.586 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.006321, allocations: 192 / 244.4 MB, free: 1.586 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.006335, allocations: 8.312 kB / 244.4 MB, free: 1.578 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.006342, allocations: 5.219 kB / 244.4 MB, free: 1.574 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.006427, allocations: 150.8 kB / 244.6 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.006712, allocations: 212.7 kB / 244.8 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.006845, allocations: 173.9 kB / 245 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.00693, allocations: 160.4 kB / 245.1 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.006937, allocations: 4.844 kB / 245.1 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.007131, allocations: 305.5 kB / 245.4 MB, free: 448 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.007132, allocations: 1.531 kB / 245.4 MB, free: 448 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003768/0.007509, allocations: 0.5253 MB / 246 MB, free: 15.83 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.00758, allocations: 186.2 kB / 246.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.007878, allocations: 367.7 kB / 246.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.007901, allocations: 29.7 kB / 246.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.007943, allocations: 98.06 kB / 246.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.007974, allocations: 31.78 kB / 246.6 MB, free: 15.08 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.008044, allocations: 77.47 kB / 246.7 MB, free: 15 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.008126, allocations: 323.3 kB / 247 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.363e-05/0.00822, allocations: 151.4 kB / 247.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/0.008306, allocations: 166.3 kB / 247.3 MB, free: 14.31 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.008472, allocations: 327.2 kB / 247.7 MB, free: 13.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.008474, allocations: 0 / 247.7 MB, free: 13.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002299/0.008704, allocations: 363.6 kB / 248 MB, free: 13.53 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.008776, allocations: 136.8 kB / 248.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.008781, allocations: 1.781 kB / 248.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.008794, allocations: 112 / 248.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.801e-05/0.008812, allocations: 3.938 kB / 248.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.008816, allocations: 4 kB / 248.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-05/0.008905, allocations: 12.44 kB / 248.2 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.008941, allocations: 40.73 kB / 248.2 MB, free: 13.31 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0002257/0.009167, allocations: 341.3 kB / 248.6 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.009205, allocations: 44.58 kB / 248.6 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.583e-05/0.009281, allocations: 59.78 kB / 248.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009283, allocations: 0 / 248.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.009285, allocations: 1.812 kB / 248.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009288, allocations: 0 / 248.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.009707, allocations: 0.6095 MB / 249.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.009708, allocations: 0 / 249.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-06/0.009714, allocations: 0 / 249.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.009877, allocations: 132.9 kB / 249.4 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.009882, allocations: 3.984 kB / 249.4 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.009897, allocations: 12 kB / 249.4 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.009899, allocations: 192 / 249.4 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.0099, allocations: 1.406 kB / 249.4 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.01018, allocations: 0.4892 MB / 249.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.01021, allocations: 12 kB / 249.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.01029, allocations: 12.67 kB / 249.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.01035, allocations: 27.95 kB / 250 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.01038, allocations: 40.44 kB / 250 MB, free: 11.37 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.01052, allocations: 158.9 kB / 250.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01052, allocations: 4 kB / 250.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.01068, allocations: 40 kB / 250.2 MB, free: 11.18 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.0001051/0.01079, allocations: 96.19 kB / 250.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003259/0.01111, allocations: 0.5703 MB / 250.9 MB, free: 10.4 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.01112, allocations: 7.984 kB / 250.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.01131, allocations: 412.1 kB / 251.3 MB, free: 9.914 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.01172, allocations: 387.7 kB / 251.6 MB, free: 9.484 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008709/0.01259, allocations: 0.7419 MB / 252.4 MB, free: 8.684 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.064e-05/0.01266, allocations: 103.1 kB / 252.5 MB, free: 8.562 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.004e-05/0.0127, allocations: 8.719 kB / 252.5 MB, free: 8.551 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.01294, allocations: 163.8 kB / 252.7 MB, free: 8.391 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01294, allocations: 3.938 kB / 252.7 MB, free: 8.387 MB / 250.7 MB Notification: Performance of Templates: time 0.005688/0.01863, allocations: 4.462 MB / 257.1 MB, free: 3.965 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.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.5691700847819448]