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.001263/0.001263, allocations: 97.98 kB / 17.58 MB, free: 5.418 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.001327/0.001327, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.00146/0.001461, allocations: 55.92 kB / 280.6 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.139, allocations: 46.64 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.004009/0.1431, allocations: 1.513 MB / 328.8 MB, free: 2.949 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1457, allocations: 0.8858 MB / 329.7 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1458, allocations: 0 / 329.7 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.1461, allocations: 15.86 kB / 329.7 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.1462, allocations: 23.84 kB / 329.7 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.1466, allocations: 47.89 kB / 329.8 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.1469, allocations: 147.7 kB / 329.9 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1471, allocations: 24 kB / 329.9 MB, free: 1.801 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.1476, allocations: 379.3 kB / 330.3 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.1478, allocations: 71.64 kB / 330.4 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.1479, allocations: 12 kB / 330.4 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.613e-05/0.1479, allocations: 8 kB / 330.4 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.148, allocations: 67.7 kB / 330.5 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.1482, allocations: 115.2 kB / 330.6 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005738/0.1488, allocations: 354.7 kB / 330.9 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1488, allocations: 0 / 330.9 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1488, allocations: 0 / 330.9 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1488, allocations: 0 / 330.9 MB, free: 0.8125 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.001079/0.1499, allocations: 0.7191 MB / 331.6 MB, free: 20 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.15, allocations: 16.03 kB / 331.6 MB, free: 4 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.1501, allocations: 40.52 kB / 331.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.1505, allocations: 270.2 kB / 331.9 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.1505, allocations: 8.375 kB / 332 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.1505, allocations: 8.375 kB / 332 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.1509, allocations: 125.9 kB / 332.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1509, allocations: 0 / 332.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.1509, allocations: 4 kB / 332.1 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.151, allocations: 4 kB / 332.1 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.1511, allocations: 55.97 kB / 332.2 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.152, allocations: 460.7 kB / 332.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.1522, allocations: 90.55 kB / 332.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1524, allocations: 88.88 kB / 332.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1524, allocations: 7.984 kB / 332.8 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.1528, allocations: 218.5 kB / 333 MB, free: 14.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.1528, allocations: 0 / 333 MB, free: 14.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008815/0.1537, allocations: 456 kB / 333.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.1538, allocations: 166.3 kB / 333.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007271/0.1546, allocations: 0.5245 MB / 334.1 MB, free: 13.31 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1546, allocations: 29.7 kB / 334.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.1547, allocations: 97.98 kB / 334.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.1547, allocations: 35.58 kB / 334.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.1549, allocations: 81.42 kB / 334.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.155, allocations: 326.8 kB / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1551, allocations: 51.97 kB / 334.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.1553, allocations: 81.66 kB / 334.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.1556, allocations: 347.6 kB / 335.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1557, allocations: 0 / 335.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005327/0.1562, allocations: 384.2 kB / 335.5 MB, free: 11.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.504e-05/0.1563, allocations: 122.8 kB / 335.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1563, allocations: 0 / 335.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1563, allocations: 0 / 335.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.561e-05/0.1564, allocations: 7.938 kB / 335.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1564, allocations: 3.938 kB / 335.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.1565, allocations: 11.98 kB / 335.7 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.1566, allocations: 44 kB / 335.7 MB, free: 11.58 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,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.0003572/0.157, allocations: 362.3 kB / 336.1 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.157, allocations: 35.62 kB / 336.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.1572, allocations: 63.27 kB / 336.2 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.1572, allocations: 4 kB / 336.2 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.1572, allocations: 4 kB / 336.2 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1572, allocations: 0 / 336.2 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1583, allocations: 0.8133 MB / 337 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1583, allocations: 0 / 337 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-06/0.1583, allocations: 7.938 kB / 337 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1583, allocations: 0 / 337 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.1584, allocations: 15.98 kB / 337 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1584, allocations: 0 / 337 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1584, allocations: 3.938 kB / 337 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007609/0.1592, allocations: 0.5214 MB / 337.5 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.1595, allocations: 252.3 kB / 337.8 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.1596, allocations: 7.938 kB / 337.8 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1597, allocations: 16 kB / 337.8 MB, free: 9.309 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.1599, allocations: 27.91 kB / 337.8 MB, free: 9.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/0.1599, allocations: 47.92 kB / 337.9 MB, free: 9.234 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004952/0.1604, allocations: 386.9 kB / 338.3 MB, free: 8.855 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1605, allocations: 0 / 338.3 MB, free: 8.855 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1608, allocations: 44 kB / 338.3 MB, free: 8.812 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 (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.0001831/0.161, allocations: 115 kB / 338.4 MB, free: 8.691 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005444/0.1615, allocations: 437.5 kB / 338.8 MB, free: 8.215 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1615, allocations: 0 / 338.8 MB, free: 8.215 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.1619, allocations: 377.5 kB / 339.2 MB, free: 7.797 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.1626, allocations: 125.9 kB / 339.3 MB, free: 7.676 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.1638, allocations: 0.6499 MB / 340 MB, free: 7 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.1643, allocations: 0.8097 MB / 340.8 MB, free: 6.16 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.1644, allocations: 8.656 kB / 340.8 MB, free: 6.148 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.1644, allocations: 15.44 kB / 340.8 MB, free: 6.133 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1644, allocations: 0 / 340.8 MB, free: 6.133 MB / 286.1 MB Notification: Performance of Templates: time 0.01005/0.1745, allocations: 4.528 MB / 345.3 MB, free: 1.562 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","/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) Reference file matches