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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 106.5 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 195.6 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] 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 0.001685/0.001685, allocations: 51.92 kB / 369.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2541, allocations: 52.15 MB / 421.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002736/0.2568, allocations: 1.514 MB / 422.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.2586, allocations: 0.8557 MB / 423.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.2587, allocations: 0 / 423.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.419e-05/0.2588, allocations: 15.86 kB / 423.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.925e-05/0.2589, allocations: 19.86 kB / 423.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.2591, allocations: 51.88 kB / 423.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.2593, allocations: 135.7 kB / 423.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2594, allocations: 15.98 kB / 423.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.2599, allocations: 403.2 kB / 424.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.2601, allocations: 59.77 kB / 424.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.2601, allocations: 12 kB / 424.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.561e-05/0.2601, allocations: 8 kB / 424.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.2602, allocations: 71.64 kB / 424.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.2604, allocations: 107.2 kB / 424.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.2607, allocations: 371.7 kB / 424.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2607, allocations: 0 / 424.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2607, allocations: 0 / 424.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.2608, allocations: 0 / 424.9 MB, free: 11.51 MB / 334.1 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.0008144/0.2616, allocations: 0.7344 MB / 425.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.2616, allocations: 15.91 kB / 425.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/0.2617, allocations: 40.7 kB / 425.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.262, allocations: 278.7 kB / 426 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.262, allocations: 4.375 kB / 426 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.262, allocations: 12.38 kB / 426 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.2623, allocations: 125.9 kB / 426.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.2623, allocations: 3.938 kB / 426.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.2624, allocations: 11.98 kB / 426.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2624, allocations: 0 / 426.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.2625, allocations: 63.91 kB / 426.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.2632, allocations: 460.5 kB / 426.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.2634, allocations: 78.47 kB / 426.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.2635, allocations: 60.89 kB / 426.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.2635, allocations: 0 / 426.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.2638, allocations: 202.7 kB / 427 MB, free: 9.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2638, allocations: 4 kB / 427 MB, free: 9.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008076/0.2647, allocations: 463.3 kB / 427.4 MB, free: 8.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.2648, allocations: 174.1 kB / 427.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006814/0.2655, allocations: 0.513 MB / 428.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.2655, allocations: 29.7 kB / 428.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.2656, allocations: 101.1 kB / 428.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.2656, allocations: 35.8 kB / 428.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.2657, allocations: 81.55 kB / 428.4 MB, free: 7.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2659, allocations: 322.8 kB / 428.7 MB, free: 7.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.266, allocations: 59.97 kB / 428.7 MB, free: 7.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.2661, allocations: 65.69 kB / 428.8 MB, free: 7.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.2665, allocations: 351.4 kB / 429.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2665, allocations: 0 / 429.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005522/0.267, allocations: 384.2 kB / 429.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.721e-05/0.2671, allocations: 122.8 kB / 429.6 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2672, allocations: 112 / 429.6 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2672, allocations: 3.938 kB / 429.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-05/0.2672, allocations: 0 / 429.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2672, allocations: 3.984 kB / 429.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.2673, allocations: 16 kB / 429.7 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/0.2674, allocations: 36 kB / 429.7 MB, free: 6.301 MB / 334.1 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.0003705/0.2677, allocations: 374.2 kB / 430.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.2678, allocations: 43.75 kB / 430.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.897e-05/0.2679, allocations: 67.14 kB / 430.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2679, allocations: 0 / 430.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2679, allocations: 0 / 430.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2679, allocations: 4 kB / 430.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.2689, allocations: 0.8017 MB / 431 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2689, allocations: 0 / 431 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-06/0.2689, allocations: 192 / 431 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2689, allocations: 0 / 431 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.269, allocations: 31.97 kB / 431 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.269, allocations: 0 / 431 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.269, allocations: 11.86 kB / 431 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006697/0.2697, allocations: 0.5285 MB / 431.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/0.27, allocations: 248.6 kB / 431.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.27, allocations: 11.94 kB / 431.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.2702, allocations: 11.98 kB / 431.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2703, allocations: 31.92 kB / 431.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.2703, allocations: 39.98 kB / 431.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004839/0.2708, allocations: 386.9 kB / 432.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2708, allocations: 0 / 432.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.2711, allocations: 51.94 kB / 432.3 MB, free: 3.516 MB / 334.1 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.0001348/0.2712, allocations: 115 kB / 432.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005094/0.2718, allocations: 369.5 kB / 432.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.2718, allocations: 4.062 kB / 432.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.2721, allocations: 301.5 kB / 433.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.2727, allocations: 122.7 kB / 433.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.2738, allocations: 0.7056 MB / 433.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.2743, allocations: 0.806 MB / 434.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.2743, allocations: 11.44 kB / 434.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2743, allocations: 4 kB / 434.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of Templates: time 0.004643/0.279, allocations: 2.59 MB / 437.3 MB, free: 14.33 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches