Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001322/0.001322, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 14.72 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.001556/0.001556, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.334e-05/4.457e-05, allocations: 6.219 kB / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002676/0.00272, allocations: 1.466 MB / 300.4 MB, free: 7.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.004734, allocations: 0.8475 MB / 301.3 MB, free: 6.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.004782, allocations: 0 / 301.3 MB, free: 6.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.583e-05/0.004878, allocations: 11.86 kB / 301.3 MB, free: 6.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.569e-05/0.004964, allocations: 23.8 kB / 301.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.005226, allocations: 51.88 kB / 301.4 MB, free: 6.301 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.005471, allocations: 139.7 kB / 301.5 MB, free: 6.164 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.005561, allocations: 12 kB / 301.5 MB, free: 6.152 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.006115, allocations: 423.2 kB / 301.9 MB, free: 5.738 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.006239, allocations: 55.81 kB / 302 MB, free: 5.684 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.006288, allocations: 12 kB / 302 MB, free: 5.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.788e-05/0.006326, allocations: 8 kB / 302 MB, free: 5.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.306e-05/0.006419, allocations: 71.66 kB / 302.1 MB, free: 5.594 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.00652, allocations: 47.8 kB / 302.1 MB, free: 5.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.006929, allocations: 362.8 kB / 302.5 MB, free: 5.191 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.006932, allocations: 0 / 302.5 MB, free: 5.191 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006933, allocations: 0 / 302.5 MB, free: 5.191 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.006937, allocations: 0 / 302.5 MB, free: 5.191 MB / 286.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.0007719/0.007709, allocations: 0.6591 MB / 303.1 MB, free: 4.477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.007741, allocations: 19.86 kB / 303.1 MB, free: 4.457 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.007807, allocations: 40.7 kB / 303.2 MB, free: 4.418 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.008103, allocations: 212.1 kB / 303.4 MB, free: 4.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.008126, allocations: 16.36 kB / 303.4 MB, free: 4.168 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.008152, allocations: 4.375 kB / 303.4 MB, free: 4.164 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.008594, allocations: 241 kB / 303.6 MB, free: 3.898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.008604, allocations: 192 / 303.6 MB, free: 3.898 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.008624, allocations: 4.375 kB / 303.6 MB, free: 3.895 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.008632, allocations: 7.938 kB / 303.7 MB, free: 3.887 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.008867, allocations: 178.7 kB / 303.8 MB, free: 3.688 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.009475, allocations: 396.3 kB / 304.2 MB, free: 3.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.00975, allocations: 193.3 kB / 304.4 MB, free: 3.047 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.00999, allocations: 179.8 kB / 304.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.01001, allocations: 11.86 kB / 304.6 MB, free: 2.832 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005032/0.01051, allocations: 321.5 kB / 304.9 MB, free: 2.469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.01051, allocations: 0 / 304.9 MB, free: 2.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001023/0.01154, allocations: 0.7009 MB / 305.6 MB, free: 1.688 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.01165, allocations: 170.2 kB / 305.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/0.01232, allocations: 0.5246 MB / 306.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.01236, allocations: 29.7 kB / 306.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.01244, allocations: 93.14 kB / 306.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.01248, allocations: 27.78 kB / 306.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.0126, allocations: 85.52 kB / 306.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.01276, allocations: 322.8 kB / 306.8 MB, free: 392 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.01297, allocations: 174.8 kB / 307 MB, free: 192 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.01322, allocations: 192.5 kB / 307.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.01363, allocations: 355.6 kB / 307.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01363, allocations: 0 / 307.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007482/0.01438, allocations: 0.5147 MB / 308.1 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.01448, allocations: 122.8 kB / 308.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01448, allocations: 0 / 308.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.01451, allocations: 7.969 kB / 308.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.517e-05/0.01453, allocations: 8 kB / 308.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01454, allocations: 0 / 308.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.01467, allocations: 11.95 kB / 308.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.01474, allocations: 43.98 kB / 308.3 MB, free: 14.78 MB / 302.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.0004147/0.01515, allocations: 358.6 kB / 308.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.01521, allocations: 47.73 kB / 308.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.01534, allocations: 67.08 kB / 308.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01534, allocations: 0 / 308.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.01534, allocations: 3.938 kB / 308.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01535, allocations: 0 / 308.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.01651, allocations: 0.8665 MB / 309.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01651, allocations: 0 / 309.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-06/0.01652, allocations: 0 / 309.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.01652, allocations: 4 kB / 309.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.01655, allocations: 11.98 kB / 309.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01655, allocations: 0 / 309.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01655, allocations: 4 kB / 309.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/0.01743, allocations: 0.6648 MB / 310.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/0.0178, allocations: 205.3 kB / 310.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.01786, allocations: 8.25 kB / 310.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.018, allocations: 19.92 kB / 310.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.01811, allocations: 19.98 kB / 310.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.01817, allocations: 51.92 kB / 310.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005036/0.01867, allocations: 386.9 kB / 310.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01867, allocations: 0 / 310.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000287/0.01896, allocations: 44 kB / 311 MB, free: 11.86 MB / 302.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.0001633/0.01912, allocations: 119 kB / 311.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.01983, allocations: 0.6046 MB / 311.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01983, allocations: 0 / 311.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.02024, allocations: 424.3 kB / 312.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.02089, allocations: 133.3 kB / 312.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.0222, allocations: 0.7725 MB / 313 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.02248, allocations: 201.4 kB / 313.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.159e-05/0.02253, allocations: 12.7 kB / 313.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.02256, allocations: 16.5 kB / 313.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.02256, allocations: 0 / 313.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of Templates: time 0.009317/0.03188, allocations: 4.915 MB / 318.2 MB, free: 4.363 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.171990104019642]