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.001456/0.001456, allocations: 117.2 kB / 18.5 MB, free: 4.543 MB / 14.72 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.001581/0.001581, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 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 1.534/1.534, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00224/0.00224, allocations: 67.89 kB / 373.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1181, allocations: 53.32 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002884/0.1209, allocations: 1.548 MB / 428.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.123, allocations: 0.881 MB / 429.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.123, allocations: 3.938 kB / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.015e-05/0.1231, allocations: 7.922 kB / 429.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.824e-05/0.1232, allocations: 15.86 kB / 429.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1235, allocations: 55.88 kB / 429.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.1237, allocations: 131.7 kB / 429.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1238, allocations: 19.98 kB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004672/0.1243, allocations: 395.2 kB / 430.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1244, allocations: 75.73 kB / 430.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.1244, allocations: 8 kB / 430.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.886e-05/0.1245, allocations: 12 kB / 430.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.865e-05/0.1246, allocations: 59.77 kB / 430.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1247, allocations: 115.1 kB / 430.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.1251, allocations: 362.5 kB / 430.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1251, allocations: 3.984 kB / 430.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1251, allocations: 0 / 430.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1251, allocations: 0 / 430.8 MB, free: 0.793 MB / 350.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.000851/0.126, allocations: 0.7383 MB / 431.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.126, allocations: 12.03 kB / 431.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.1261, allocations: 40.64 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.1264, allocations: 274.7 kB / 431.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1264, allocations: 8.375 kB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.1265, allocations: 8.375 kB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.1268, allocations: 121.9 kB / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1268, allocations: 4 kB / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.1269, allocations: 0 / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.1269, allocations: 4 kB / 432 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.127, allocations: 63.95 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007986/0.1278, allocations: 464.4 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.128, allocations: 70.55 kB / 432.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.1282, allocations: 68.81 kB / 432.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/0.1282, allocations: 0 / 432.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004208/0.1286, allocations: 210.6 kB / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.1286, allocations: 0 / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009797/0.1296, allocations: 470 kB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.1297, allocations: 162.2 kB / 433.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007455/0.1305, allocations: 0.5169 MB / 434 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.1305, allocations: 29.7 kB / 434 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.248e-05/0.1306, allocations: 101.1 kB / 434.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.1306, allocations: 31.78 kB / 434.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1308, allocations: 89.52 kB / 434.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1309, allocations: 326.8 kB / 434.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1311, allocations: 51.97 kB / 434.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1312, allocations: 77.67 kB / 434.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.1316, allocations: 335.3 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1316, allocations: 0 / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006202/0.1323, allocations: 387.2 kB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.1324, allocations: 122.8 kB / 435.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1324, allocations: 0 / 435.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.1324, allocations: 112 / 435.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.632e-05/0.1324, allocations: 7.938 kB / 435.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1324, allocations: 0 / 435.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.1326, allocations: 15.94 kB / 435.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/0.1327, allocations: 44 kB / 435.6 MB, free: 11.59 MB / 366.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.00043/0.1331, allocations: 374.1 kB / 436 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.1331, allocations: 35.81 kB / 436 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.1333, allocations: 63.14 kB / 436.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1333, allocations: 4 kB / 436.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1333, allocations: 0 / 436.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1333, allocations: 3.984 kB / 436.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.1344, allocations: 0.8136 MB / 436.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.1344, allocations: 4 kB / 436.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-06/0.1344, allocations: 0 / 436.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1344, allocations: 4 kB / 436.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.1344, allocations: 19.98 kB / 436.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1344, allocations: 3.938 kB / 436.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1344, allocations: 3.938 kB / 436.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.1352, allocations: 0.5254 MB / 437.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/0.1355, allocations: 244.6 kB / 437.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/0.1356, allocations: 12 kB / 437.7 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.1357, allocations: 8 kB / 437.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.1358, allocations: 31.91 kB / 437.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.1359, allocations: 51.86 kB / 437.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005063/0.1364, allocations: 386.9 kB / 438.2 MB, free: 8.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1364, allocations: 0 / 438.2 MB, free: 8.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1367, allocations: 40 kB / 438.2 MB, free: 8.816 MB / 366.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.0001702/0.1369, allocations: 115 kB / 438.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005579/0.1374, allocations: 377.5 kB / 438.7 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1374, allocations: 0 / 438.7 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.1378, allocations: 305.6 kB / 439 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/0.1385, allocations: 124.5 kB / 439.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1396, allocations: 0.657 MB / 439.8 MB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.1402, allocations: 0.8022 MB / 440.6 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.996e-05/0.1402, allocations: 8.656 kB / 440.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.1402, allocations: 15.44 kB / 440.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1402, allocations: 0 / 440.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of Templates: time 0.0102/0.1504, allocations: 4.528 MB / 445.1 MB, free: 1.727 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.787501636892557]