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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 113.2 kB / 17.69 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 192 kB / 18.63 MB, free: 4.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 51.2 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1104, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002516/0.1129, allocations: 1.516 MB / 353 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.115, allocations: 0.855 MB / 353.9 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.1151, allocations: 0 / 353.9 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.939e-05/0.1152, allocations: 11.92 kB / 353.9 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.375e-05/0.1153, allocations: 15.86 kB / 353.9 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.1156, allocations: 47.89 kB / 353.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.1159, allocations: 155.7 kB / 354.1 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.116, allocations: 24 kB / 354.1 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005317/0.1166, allocations: 379.3 kB / 354.5 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1167, allocations: 63.77 kB / 354.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.1168, allocations: 12 kB / 354.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.1169, allocations: 8 kB / 354.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.117, allocations: 71.69 kB / 354.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.1171, allocations: 115.2 kB / 354.8 MB, free: 440 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.1176, allocations: 358.7 kB / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1176, allocations: 0 / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1176, allocations: 0 / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1176, allocations: 0 / 355.1 MB, free: 80 kB / 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.0009496/0.1186, allocations: 0.7189 MB / 355.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1187, allocations: 11.97 kB / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.1188, allocations: 40.47 kB / 355.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.1192, allocations: 278.3 kB / 356.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1192, allocations: 4.375 kB / 356.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.1192, allocations: 12.38 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.1196, allocations: 121.9 kB / 356.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1196, allocations: 0 / 356.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.1197, allocations: 11.98 kB / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1197, allocations: 0 / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.1199, allocations: 63.91 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00093/0.1208, allocations: 456.5 kB / 356.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.1211, allocations: 102.5 kB / 356.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.1213, allocations: 84.83 kB / 357 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1213, allocations: 4 kB / 357 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.1217, allocations: 202.3 kB / 357.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.1217, allocations: 4 kB / 357.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008697/0.1226, allocations: 460.1 kB / 357.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.1227, allocations: 178.1 kB / 357.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009424/0.1236, allocations: 0.5129 MB / 358.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.1237, allocations: 29.7 kB / 358.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.1238, allocations: 105.1 kB / 358.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.1238, allocations: 27.66 kB / 358.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.124, allocations: 77.41 kB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1242, allocations: 326.8 kB / 358.9 MB, free: 12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1244, allocations: 59.97 kB / 358.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.1246, allocations: 69.69 kB / 359 MB, free: 11.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.1251, allocations: 343.2 kB / 359.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.1251, allocations: 4 kB / 359.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008319/0.126, allocations: 384.2 kB / 359.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.1261, allocations: 126.8 kB / 359.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1261, allocations: 3.984 kB / 359.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1261, allocations: 0 / 359.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.394e-05/0.1262, allocations: 0 / 359.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.1262, allocations: 3.984 kB / 359.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1264, allocations: 16.12 kB / 359.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/0.1265, allocations: 40.05 kB / 359.9 MB, free: 10.85 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.0005033/0.127, allocations: 374.2 kB / 360.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.1271, allocations: 39.53 kB / 360.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.1273, allocations: 71.12 kB / 360.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1273, allocations: 0 / 360.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1273, allocations: 0 / 360.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1273, allocations: 4 kB / 360.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.1285, allocations: 0.8089 MB / 361.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1285, allocations: 0 / 361.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-06/0.1285, allocations: 4 kB / 361.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1285, allocations: 0 / 361.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.1286, allocations: 11.98 kB / 361.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1286, allocations: 4 kB / 361.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1286, allocations: 3.938 kB / 361.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009429/0.1296, allocations: 0.5173 MB / 361.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005289/0.1301, allocations: 248.4 kB / 362 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/0.1302, allocations: 15.94 kB / 362 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.1305, allocations: 15.98 kB / 362 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.1306, allocations: 27.92 kB / 362 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.713e-05/0.1307, allocations: 47.86 kB / 362.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007403/0.1315, allocations: 386.9 kB / 362.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1315, allocations: 0 / 362.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004891/0.132, allocations: 51.94 kB / 362.5 MB, free: 8.07 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.0001799/0.1322, allocations: 115 kB / 362.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007552/0.133, allocations: 445.7 kB / 363.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/0.133, allocations: 0 / 363.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.1334, allocations: 373.5 kB / 363.4 MB, free: 7.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/0.1343, allocations: 119.2 kB / 363.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.1358, allocations: 0.6497 MB / 364.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.1365, allocations: 0.8061 MB / 365 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.856e-05/0.1365, allocations: 8.656 kB / 365 MB, free: 5.426 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.1366, allocations: 19.38 kB / 365 MB, free: 5.406 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1366, allocations: 0 / 365 MB, free: 5.406 MB / 302.1 MB Notification: Performance of Templates: time 0.01091/0.1475, allocations: 4.513 MB / 369.5 MB, free: 0.8945 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) 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) Reference file matches