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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_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.001166/0.001165, allocations: 98.97 kB / 16.96 MB, free: 5.992 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.001463/0.001463, allocations: 178.4 kB / 17.84 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005195, allocations: 8 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1303, allocations: 47.6 MB / 328.4 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002071/0.1325, allocations: 1.196 MB / 329.6 MB, free: 2.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.1346, allocations: 0.8482 MB / 330.4 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.1347, allocations: 0 / 330.4 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.1349, allocations: 7.922 kB / 330.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.726e-05/0.135, allocations: 11.92 kB / 330.4 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.1353, allocations: 43.89 kB / 330.5 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.1355, allocations: 111.7 kB / 330.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.1357, allocations: 16 kB / 330.6 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006321/0.1363, allocations: 351.4 kB / 330.9 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.1365, allocations: 75.7 kB / 331 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.1366, allocations: 7.938 kB / 331 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.673e-05/0.1366, allocations: 4 kB / 331 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1367, allocations: 59.83 kB / 331.1 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1369, allocations: 77.52 kB / 331.2 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.1373, allocations: 287.3 kB / 331.4 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.1373, allocations: 0 / 331.4 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.1373, allocations: 0 / 331.4 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.1373, allocations: 0 / 331.4 MB, free: 0.9844 MB / 270.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.001008/0.1383, allocations: 0.6568 MB / 332.1 MB, free: 260 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.1384, allocations: 8.031 kB / 332.1 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.1385, allocations: 39.53 kB / 332.1 MB, free: 212 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.1391, allocations: 265.4 kB / 332.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.1391, allocations: 11.94 kB / 332.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.1392, allocations: 12 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.1396, allocations: 121.6 kB / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1396, allocations: 0 / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.1397, allocations: 4 kB / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.994e-06/0.1397, allocations: 0 / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1399, allocations: 55.97 kB / 332.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.1408, allocations: 472.4 kB / 333.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1411, allocations: 94.55 kB / 333.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.1413, allocations: 80.89 kB / 333.2 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.1413, allocations: 0 / 333.2 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004797/0.1418, allocations: 202.7 kB / 333.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 3.838e-06/0.1418, allocations: 8.047 kB / 333.4 MB, free: 14.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009035/0.1427, allocations: 463.8 kB / 333.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/0.1429, allocations: 174.2 kB / 334.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007272/0.1437, allocations: 0.5129 MB / 334.6 MB, free: 13.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.1437, allocations: 29.7 kB / 334.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.687e-05/0.1438, allocations: 105 kB / 334.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.1439, allocations: 35.58 kB / 334.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.1439, allocations: 0 / 334.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1441, allocations: 322.8 kB / 335.1 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1442, allocations: 63.97 kB / 335.1 MB, free: 13 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1443, allocations: 77.05 kB / 335.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1445, allocations: 158.9 kB / 335.3 MB, free: 12.74 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1445, allocations: 0 / 335.3 MB, free: 12.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005386/0.1451, allocations: 384.2 kB / 335.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-05/0.1452, allocations: 122.8 kB / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1452, allocations: 0 / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1452, allocations: 32 / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.848e-05/0.1453, allocations: 8.062 kB / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.1453, allocations: 8 kB / 335.9 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.1455, allocations: 15.89 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-05/0.1456, allocations: 43.95 kB / 335.9 MB, free: 12.12 MB / 286.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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004794/0.1461, allocations: 358.3 kB / 336.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.1462, allocations: 35.62 kB / 336.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.1463, allocations: 71.12 kB / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1463, allocations: 4 kB / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.1464, allocations: 0 / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1464, allocations: 0 / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.1477, allocations: 0.806 MB / 337.2 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1477, allocations: 0 / 337.2 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-06/0.1477, allocations: 0 / 337.2 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.1477, allocations: 4 kB / 337.2 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.1478, allocations: 11.98 kB / 337.2 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1478, allocations: 0 / 337.2 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.1478, allocations: 0 / 337.2 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000811/0.1486, allocations: 0.5484 MB / 337.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.149, allocations: 244.4 kB / 338 MB, free: 9.867 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.149, allocations: 12 kB / 338 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1492, allocations: 15.92 kB / 338 MB, free: 9.84 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.1493, allocations: 31.95 kB / 338 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.393e-05/0.1494, allocations: 43.94 kB / 338.1 MB, free: 9.766 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005086/0.1499, allocations: 390.9 kB / 338.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1499, allocations: 0 / 338.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.1502, allocations: 47.95 kB / 338.5 MB, free: 9.34 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/0.1504, allocations: 115.1 kB / 338.6 MB, free: 9.219 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006398/0.151, allocations: 441.5 kB / 339.1 MB, free: 8.738 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.151, allocations: 0 / 339.1 MB, free: 8.738 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.1515, allocations: 377.6 kB / 339.4 MB, free: 8.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.1522, allocations: 105.5 kB / 339.5 MB, free: 8.215 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1535, allocations: 0.7271 MB / 340.3 MB, free: 7.465 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/0.1541, allocations: 0.7986 MB / 341.1 MB, free: 6.641 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.159e-05/0.1542, allocations: 12.64 kB / 341.1 MB, free: 6.625 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.1542, allocations: 7.438 kB / 341.1 MB, free: 6.617 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1542, allocations: 4 kB / 341.1 MB, free: 6.613 MB / 286.1 MB Notification: Performance of Templates: time 0.00839/0.1626, allocations: 3.896 MB / 345 MB, free: 2.676 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches