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.0008717/0.0008717, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008534/0.0008534, allocations: 157.1 kB / 25.44 MB, free: 8.855 MB / 18.57 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 0.9083/0.9083, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.222e-06/1.222e-06, allocations: 0 / 299.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.121e-05, allocations: 2.281 kB / 299.7 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001629/0.00165, allocations: 1.468 MB / 301.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.00291, allocations: 0.8468 MB / 302 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.002952, allocations: 0 / 302 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.859e-05/0.003031, allocations: 7.938 kB / 302 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.709e-05/0.003098, allocations: 27.78 kB / 302.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.003318, allocations: 51.77 kB / 302.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.00348, allocations: 143.7 kB / 302.2 MB, free: 456 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.003567, allocations: 8 kB / 302.3 MB, free: 448 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.003892, allocations: 415.3 kB / 302.7 MB, free: 32 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1246/0.1285, allocations: 60.27 kB / 302.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.73e-05/0.1285, allocations: 8.469 kB / 302.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.843e-05/0.1286, allocations: 10.12 kB / 302.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.1287, allocations: 67.45 kB / 302.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.707e-05/0.1287, allocations: 54.78 kB / 302.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.129, allocations: 363.4 kB / 303.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.129, allocations: 0 / 303.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.129, allocations: 0 / 303.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1291, allocations: 1.438 kB / 303.2 MB, free: 14.09 MB / 282.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.0004542/0.1295, allocations: 0.6498 MB / 303.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1295, allocations: 14.64 kB / 303.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.1296, allocations: 38.92 kB / 303.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.1298, allocations: 220.4 kB / 304.1 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1298, allocations: 7.25 kB / 304.1 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1298, allocations: 15.08 kB / 304.2 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.13, allocations: 241.8 kB / 304.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.13, allocations: 192 / 304.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1301, allocations: 5.188 kB / 304.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1301, allocations: 5.094 kB / 304.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1302, allocations: 175.2 kB / 304.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.1306, allocations: 392.9 kB / 305 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.1307, allocations: 189.3 kB / 305.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/0.1308, allocations: 183.8 kB / 305.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1308, allocations: 1.859 kB / 305.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.1311, allocations: 332.2 kB / 305.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1311, allocations: 0 / 305.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005089/0.1316, allocations: 0.6975 MB / 306.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1316, allocations: 170.9 kB / 306.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.132, allocations: 0.5165 MB / 307 MB, free: 11.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.132, allocations: 34.66 kB / 307.1 MB, free: 11.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.1321, allocations: 99.69 kB / 307.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.1321, allocations: 31.09 kB / 307.2 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/0.1322, allocations: 82.88 kB / 307.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.12e-05/0.1322, allocations: 325.4 kB / 307.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.259e-05/0.1323, allocations: 174.8 kB / 307.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.625e-05/0.1324, allocations: 194.1 kB / 307.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.1325, allocations: 358.3 kB / 308.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1325, allocations: 0 / 308.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003127/0.1329, allocations: 0.5056 MB / 308.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.1329, allocations: 123.5 kB / 308.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1329, allocations: 4.781 kB / 308.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1329, allocations: 1.969 kB / 308.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.685e-05/0.1329, allocations: 1.219 kB / 308.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1329, allocations: 4.203 kB / 308.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.803e-05/0.133, allocations: 20.31 kB / 309 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.1331, allocations: 39.47 kB / 309 MB, free: 9.91 MB / 282.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.0001848/0.1333, allocations: 358 kB / 309.3 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.1333, allocations: 43.98 kB / 309.4 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.141e-05/0.1334, allocations: 69.8 kB / 309.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1334, allocations: 0 / 309.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1334, allocations: 4.078 kB / 309.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1334, allocations: 1.906 kB / 309.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.1339, allocations: 0.8626 MB / 310.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1339, allocations: 1.406 kB / 310.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-06/0.1339, allocations: 0.7031 kB / 310.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1339, allocations: 9.375 kB / 310.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.1339, allocations: 11.22 kB / 310.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1339, allocations: 2.031 kB / 310.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1339, allocations: 0 / 310.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.1343, allocations: 0.6678 MB / 311 MB, free: 8.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.1345, allocations: 209.2 kB / 311.2 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.1346, allocations: 8.266 kB / 311.2 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.938e-05/0.1347, allocations: 20.06 kB / 311.2 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.843e-05/0.1347, allocations: 22.33 kB / 311.3 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.1348, allocations: 49.22 kB / 311.3 MB, free: 8.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003379/0.1351, allocations: 386.9 kB / 311.7 MB, free: 8.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1351, allocations: 1.188 kB / 311.7 MB, free: 8.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.1353, allocations: 41.16 kB / 311.7 MB, free: 8.066 MB / 282.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 9.265e-05/0.1354, allocations: 113.1 kB / 311.8 MB, free: 7.973 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.1358, allocations: 0.6142 MB / 312.5 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1358, allocations: 4.062 kB / 312.5 MB, free: 7.398 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.136, allocations: 424.2 kB / 312.9 MB, free: 6.988 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.1365, allocations: 124.4 kB / 313 MB, free: 6.957 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007572/0.1372, allocations: 0.8186 MB / 313.8 MB, free: 6.398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.1374, allocations: 193.2 kB / 314 MB, free: 6.285 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.1374, allocations: 13.03 kB / 314 MB, free: 6.273 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1374, allocations: 0 / 314 MB, free: 6.273 MB / 282.7 MB Notification: Performance of Templates: time 0.003403/0.1408, allocations: 2.569 MB / 316.6 MB, free: 6.016 MB / 282.7 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.886898968368769]