Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.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.001083/0.001083, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001761/0.002844, allocations: 449.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.001181/0.001181, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002758, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.052/1.052, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1162/1.168, allocations: 53.64 MB / 243.2 MB, free: 15.6 MB / 250.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.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.416e-06/9.508e-06, allocations: 2.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001556/0.001565, allocations: 1.593 MB / 246.1 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.002796, allocations: 0.905 MB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.00283, allocations: 0 / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.617e-05/0.002886, allocations: 15.86 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.00293, allocations: 23.84 kB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.003059, allocations: 47.83 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.003198, allocations: 139.7 kB / 247.2 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.251e-05/0.003261, allocations: 19.92 kB / 247.3 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.003572, allocations: 403.2 kB / 247.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.209e-05/0.003654, allocations: 51.83 kB / 247.7 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.00368, allocations: 12 kB / 247.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.872e-05/0.003698, allocations: 8 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.003752, allocations: 67.72 kB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.003803, allocations: 47.8 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.003983, allocations: 255 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.003994, allocations: 4 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003995, allocations: 0 / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.004004, allocations: 0 / 248.1 MB, free: 10.75 MB / 250.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.0004724/0.004477, allocations: 0.6652 MB / 248.8 MB, free: 10.03 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.328e-05/0.0045, allocations: 8.031 kB / 248.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.004544, allocations: 32.91 kB / 248.8 MB, free: 9.992 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.004688, allocations: 208.1 kB / 249 MB, free: 9.762 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.004702, allocations: 12.38 kB / 249 MB, free: 9.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.004716, allocations: 4.375 kB / 249 MB, free: 9.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.004918, allocations: 241.6 kB / 249.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.004923, allocations: 192 / 249.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.004936, allocations: 8.375 kB / 249.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.004939, allocations: 3.938 kB / 249.3 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.005017, allocations: 154.8 kB / 249.4 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.005242, allocations: 212.2 kB / 249.6 MB, free: 9.066 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.005342, allocations: 169.4 kB / 249.8 MB, free: 8.867 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.005421, allocations: 159.7 kB / 249.9 MB, free: 8.684 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-06/0.005425, allocations: 0 / 249.9 MB, free: 8.684 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.005584, allocations: 313.3 kB / 250.2 MB, free: 8.328 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.41e-07/0.005585, allocations: 112 / 250.2 MB, free: 8.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002958/0.005881, allocations: 0.5399 MB / 250.8 MB, free: 7.711 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.005913, allocations: 85.11 kB / 250.9 MB, free: 7.609 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.006161, allocations: 359.1 kB / 251.2 MB, free: 7.246 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.006184, allocations: 33.7 kB / 251.3 MB, free: 7.207 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.006216, allocations: 93.11 kB / 251.3 MB, free: 7.113 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.006241, allocations: 31.72 kB / 251.4 MB, free: 7.082 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.006308, allocations: 77.48 kB / 251.4 MB, free: 7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.006394, allocations: 326.8 kB / 251.8 MB, free: 6.672 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.006479, allocations: 150.8 kB / 251.9 MB, free: 6.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.964e-05/0.006569, allocations: 168.6 kB / 252.1 MB, free: 6.305 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.006735, allocations: 331.2 kB / 252.4 MB, free: 5.926 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006736, allocations: 0 / 252.4 MB, free: 5.926 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002075/0.006944, allocations: 363.4 kB / 252.8 MB, free: 5.516 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/0.007004, allocations: 137.8 kB / 252.9 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.007008, allocations: 0 / 252.9 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-06/0.007013, allocations: 0 / 252.9 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.32e-05/0.007026, allocations: 4 kB / 252.9 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.007029, allocations: 3.938 kB / 252.9 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.007094, allocations: 12.03 kB / 252.9 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.007132, allocations: 40.06 kB / 253 MB, free: 5.301 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.0002112/0.007343, allocations: 345.3 kB / 253.3 MB, free: 4.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.007376, allocations: 39.91 kB / 253.3 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.007444, allocations: 51.09 kB / 253.4 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.007445, allocations: 0 / 253.4 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.007446, allocations: 0 / 253.4 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.007448, allocations: 0 / 253.4 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.0078, allocations: 0.6095 MB / 254 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.007801, allocations: 0 / 254 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-06/0.007803, allocations: 4 kB / 254 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.007963, allocations: 139.4 kB / 254.1 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.007964, allocations: 0 / 254.1 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.007977, allocations: 8 kB / 254.1 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.007978, allocations: 0 / 254.1 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.00798, allocations: 7.922 kB / 254.1 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.008216, allocations: 0.4938 MB / 254.6 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.008245, allocations: 15.98 kB / 254.7 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.008308, allocations: 8 kB / 254.7 MB, free: 3.422 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.008356, allocations: 19.98 kB / 254.7 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.008383, allocations: 44.11 kB / 254.7 MB, free: 3.359 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.008514, allocations: 156.6 kB / 254.9 MB, free: 3.203 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008514, allocations: 0 / 254.9 MB, free: 3.203 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.008656, allocations: 40 kB / 254.9 MB, free: 3.164 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 6.703e-05/0.008723, allocations: 96.42 kB / 255 MB, free: 3.062 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.009027, allocations: 0.5818 MB / 255.6 MB, free: 2.383 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.009031, allocations: 4 kB / 255.6 MB, free: 2.379 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.0092, allocations: 408.1 kB / 256 MB, free: 1.902 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.009478, allocations: 150.8 kB / 256.1 MB, free: 1.762 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.01023, allocations: 0.7496 MB / 256.9 MB, free: 0.957 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.076e-05/0.01029, allocations: 95.27 kB / 257 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.526e-05/0.01032, allocations: 8.719 kB / 257 MB, free: 0.832 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.01053, allocations: 159.5 kB / 257.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01053, allocations: 0 / 257.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of Templates: time 0.004844/0.01537, allocations: 4.453 MB / 261.6 MB, free: 12.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.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.544879572466016]