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.00178/0.00178, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001984/0.001984, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 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 1.483/1.483, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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.001659/0.001659, allocations: 43.94 kB / 371.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2492, allocations: 52.18 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003054/0.2523, allocations: 1.478 MB / 425.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.2544, allocations: 0.8031 MB / 426.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.599e-05/0.2545, allocations: 4 kB / 426.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.967e-05/0.2546, allocations: 7.922 kB / 426.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.75e-05/0.2547, allocations: 23.8 kB / 426.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.255, allocations: 58.06 kB / 426.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.2552, allocations: 135.7 kB / 426.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2553, allocations: 19.97 kB / 426.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005586/0.2559, allocations: 399.2 kB / 426.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.2561, allocations: 63.75 kB / 426.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.2561, allocations: 8 kB / 426.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.256e-05/0.2562, allocations: 12 kB / 426.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.729e-05/0.2563, allocations: 67.64 kB / 426.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.2564, allocations: 75.42 kB / 427 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.2568, allocations: 372.1 kB / 427.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2568, allocations: 0 / 427.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2568, allocations: 0 / 427.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2568, allocations: 0 / 427.3 MB, free: 10.94 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.0008827/0.2577, allocations: 0.6591 MB / 428 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2577, allocations: 15.97 kB / 428 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.2578, allocations: 36.7 kB / 428 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.2581, allocations: 220.8 kB / 428.2 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.2582, allocations: 4.375 kB / 428.2 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.2582, allocations: 8.375 kB / 428.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.2586, allocations: 252.6 kB / 428.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2586, allocations: 0 / 428.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.2587, allocations: 4 kB / 428.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2587, allocations: 4 kB / 428.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.2589, allocations: 178.7 kB / 428.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.2596, allocations: 396.2 kB / 429.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.2599, allocations: 193.3 kB / 429.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.2601, allocations: 179.7 kB / 429.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.2601, allocations: 0 / 429.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004962/0.2606, allocations: 321.5 kB / 429.8 MB, free: 8.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.2606, allocations: 0 / 429.8 MB, free: 8.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00101/0.2616, allocations: 0.6853 MB / 430.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.2617, allocations: 174.1 kB / 430.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007252/0.2624, allocations: 0.5169 MB / 431.1 MB, free: 6.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.2625, allocations: 29.7 kB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2626, allocations: 101.1 kB / 431.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.2626, allocations: 31.8 kB / 431.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2628, allocations: 77.55 kB / 431.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2629, allocations: 326.8 kB / 431.7 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.2632, allocations: 174.8 kB / 431.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.2634, allocations: 192.5 kB / 432 MB, free: 5.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.2638, allocations: 363.1 kB / 432.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2638, allocations: 0 / 432.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006383/0.2645, allocations: 0.4952 MB / 432.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.2646, allocations: 130.8 kB / 433 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2646, allocations: 4 kB / 433 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.2646, allocations: 4 kB / 433 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.948e-05/0.2646, allocations: 0 / 433 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2646, allocations: 112 / 433 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.2648, allocations: 11.94 kB / 433 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.2648, allocations: 51.92 kB / 433.1 MB, free: 4.559 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.0003726/0.2652, allocations: 358.2 kB / 433.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.2653, allocations: 43.8 kB / 433.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.2654, allocations: 63.08 kB / 433.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2654, allocations: 4 kB / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2654, allocations: 0 / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2654, allocations: 0 / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2665, allocations: 0.851 MB / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2665, allocations: 4 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-06/0.2665, allocations: 0 / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2665, allocations: 0 / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.2665, allocations: 15.98 kB / 434.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2665, allocations: 0 / 434.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2665, allocations: 4 kB / 434.4 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007917/0.2673, allocations: 0.657 MB / 435.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.2677, allocations: 205.3 kB / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.2678, allocations: 11.94 kB / 435.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.2679, allocations: 15.98 kB / 435.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.268, allocations: 19.98 kB / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.2681, allocations: 43.98 kB / 435.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005294/0.2686, allocations: 386.9 kB / 435.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2686, allocations: 0 / 435.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003175/0.2689, allocations: 47.94 kB / 435.8 MB, free: 1.668 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.0001429/0.2691, allocations: 123.1 kB / 435.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006893/0.2698, allocations: 0.6085 MB / 436.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2698, allocations: 3.938 kB / 436.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004112/0.2702, allocations: 424.3 kB / 436.9 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006418/0.2708, allocations: 127.6 kB / 437.1 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.2722, allocations: 0.8178 MB / 437.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.2724, allocations: 197.6 kB / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.2725, allocations: 15.44 kB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2725, allocations: 0 / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Templates: time 0.005094/0.2775, allocations: 2.566 MB / 440.7 MB, free: 12.54 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 [Calling sys.exit(0), Time elapsed: 7.470693398732692]