Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000805/0.000805, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001825, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006699/0.0006699, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008159/0.001486, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9055/0.9055, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0828/0.9883, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.057e-06/1.043e-05, allocations: 6.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001617/0.001627, allocations: 1.589 MB / 246.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.002923, allocations: 0.9011 MB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.002972, allocations: 4 kB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.608e-05/0.003038, allocations: 7.922 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.504e-05/0.003094, allocations: 31.72 kB / 247.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.003269, allocations: 55.81 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.003444, allocations: 131.7 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.57e-05/0.00352, allocations: 19.97 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.003894, allocations: 403.2 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.003995, allocations: 55.83 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.004023, allocations: 12 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.175e-05/0.004044, allocations: 12 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.004111, allocations: 63.77 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.004165, allocations: 43.81 kB / 248.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.004362, allocations: 251.1 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469e-05/0.004377, allocations: 0 / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004378, allocations: 0 / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.004391, allocations: 0 / 248.6 MB, free: 10.07 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.0005185/0.004909, allocations: 0.6691 MB / 249.2 MB, free: 9.348 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.004937, allocations: 8.625 kB / 249.2 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.004989, allocations: 28.91 kB / 249.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.005166, allocations: 228 kB / 249.5 MB, free: 9.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.005184, allocations: 4.375 kB / 249.5 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.005203, allocations: 12.38 kB / 249.5 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.005456, allocations: 229.6 kB / 249.7 MB, free: 8.789 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.005463, allocations: 4.188 kB / 249.7 MB, free: 8.785 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.005477, allocations: 384 / 249.7 MB, free: 8.785 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005483, allocations: 7.938 kB / 249.8 MB, free: 8.777 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.005574, allocations: 150.8 kB / 249.9 MB, free: 8.605 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.005847, allocations: 208.2 kB / 250.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.005965, allocations: 177.4 kB / 250.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/0.006051, allocations: 159.6 kB / 250.4 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.006059, allocations: 4 kB / 250.4 MB, free: 7.992 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.006237, allocations: 309.4 kB / 250.7 MB, free: 7.641 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.006238, allocations: 0 / 250.7 MB, free: 7.641 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005179/0.006756, allocations: 0.5331 MB / 251.3 MB, free: 7.031 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.006791, allocations: 85.09 kB / 251.4 MB, free: 6.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.00706, allocations: 367.1 kB / 251.7 MB, free: 6.559 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.007086, allocations: 33.7 kB / 251.7 MB, free: 6.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.007122, allocations: 97.11 kB / 251.8 MB, free: 6.422 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.007148, allocations: 27.78 kB / 251.9 MB, free: 6.395 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.007215, allocations: 77.48 kB / 251.9 MB, free: 6.312 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.007289, allocations: 326.8 kB / 252.3 MB, free: 5.984 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.007374, allocations: 150.8 kB / 252.4 MB, free: 5.812 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.378e-05/0.007457, allocations: 164.5 kB / 252.6 MB, free: 5.621 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.007613, allocations: 331.2 kB / 252.9 MB, free: 5.242 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007615, allocations: 0 / 252.9 MB, free: 5.242 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001997/0.007814, allocations: 367.2 kB / 253.3 MB, free: 4.828 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/0.007873, allocations: 130.7 kB / 253.4 MB, free: 4.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.007877, allocations: 0 / 253.4 MB, free: 4.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/0.007885, allocations: 4 kB / 253.4 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.521e-05/0.0079, allocations: 0 / 253.4 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.007902, allocations: 0 / 253.4 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.943e-05/0.007982, allocations: 12 kB / 253.4 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.008017, allocations: 44.03 kB / 253.4 MB, free: 4.617 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.0002144/0.008231, allocations: 341.3 kB / 253.8 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.008269, allocations: 39.94 kB / 253.8 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.295e-05/0.008342, allocations: 59.06 kB / 253.9 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.008344, allocations: 4 kB / 253.9 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.008346, allocations: 0 / 253.9 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.008349, allocations: 3.984 kB / 253.9 MB, free: 4.148 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.008724, allocations: 0.5978 MB / 254.5 MB, free: 3.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008725, allocations: 0 / 254.5 MB, free: 3.477 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-06/0.00873, allocations: 4 kB / 254.5 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.008895, allocations: 139.4 kB / 254.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.008898, allocations: 7.984 kB / 254.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.008912, allocations: 8 kB / 254.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.008912, allocations: 0 / 254.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.008913, allocations: 0 / 254.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.009168, allocations: 0.5009 MB / 255.1 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.009201, allocations: 12 kB / 255.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.00928, allocations: 11.98 kB / 255.2 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.009335, allocations: 15.98 kB / 255.2 MB, free: 2.715 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.009367, allocations: 44.11 kB / 255.2 MB, free: 2.672 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.009509, allocations: 160.6 kB / 255.4 MB, free: 2.512 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009509, allocations: 0 / 255.4 MB, free: 2.512 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.009659, allocations: 44 kB / 255.4 MB, free: 2.469 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 7.246e-05/0.009732, allocations: 92.42 kB / 255.5 MB, free: 2.371 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002908/0.01002, allocations: 0.5702 MB / 256.1 MB, free: 1.699 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.01003, allocations: 4 kB / 256.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.01021, allocations: 419.9 kB / 256.5 MB, free: 1.211 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.01052, allocations: 143.2 kB / 256.6 MB, free: 1.082 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008177/0.01134, allocations: 0.7457 MB / 257.4 MB, free: 288 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.682e-05/0.0114, allocations: 107.2 kB / 257.5 MB, free: 160 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.306e-05/0.01144, allocations: 8.656 kB / 257.5 MB, free: 144 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.01166, allocations: 159.5 kB / 257.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01166, allocations: 0 / 257.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of Templates: time 0.005323/0.01699, allocations: 4.445 MB / 262.1 MB, free: 11.54 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.4006948554888368]