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.0008672/0.0008672, allocations: 101.4 kB / 17.31 MB, free: 6.344 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.00102/0.001021, allocations: 178.5 kB / 18.2 MB, free: 5.531 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.155/2.155, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.0005109/0.000511, allocations: 12.52 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1519, allocations: 47.59 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002942/0.1549, allocations: 1.227 MB / 330.2 MB, free: 2.523 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1572, allocations: 0.9063 MB / 331.1 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.1573, allocations: 0 / 331.1 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.1574, allocations: 3.938 kB / 331.1 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.709e-05/0.1575, allocations: 15.92 kB / 331.1 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.1579, allocations: 43.89 kB / 331.2 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.158, allocations: 115.7 kB / 331.3 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1582, allocations: 23.98 kB / 331.3 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005324/0.1587, allocations: 379.3 kB / 331.7 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1589, allocations: 67.69 kB / 331.7 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.1589, allocations: 4 kB / 331.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.647e-05/0.159, allocations: 4 kB / 331.7 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1591, allocations: 63.7 kB / 331.8 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.1593, allocations: 136.9 kB / 331.9 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.1596, allocations: 342.6 kB / 332.3 MB, free: 436 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.1597, allocations: 3.984 kB / 332.3 MB, free: 432 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1597, allocations: 0 / 332.3 MB, free: 432 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1597, allocations: 0 / 332.3 MB, free: 432 kB / 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.0008676/0.1606, allocations: 0.657 MB / 332.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.1606, allocations: 12.03 kB / 332.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.83e-05/0.1607, allocations: 36.47 kB / 333 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.161, allocations: 274.3 kB / 333.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.1611, allocations: 8.375 kB / 333.3 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.1611, allocations: 16.36 kB / 333.3 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.1615, allocations: 121.9 kB / 333.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1615, allocations: 0 / 333.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.1615, allocations: 4 kB / 333.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1615, allocations: 4 kB / 333.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.1617, allocations: 59.95 kB / 333.5 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006849/0.1624, allocations: 464.5 kB / 333.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1626, allocations: 98.47 kB / 334 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.1628, allocations: 84.89 kB / 334.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.1628, allocations: 0 / 334.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000364/0.1632, allocations: 214.5 kB / 334.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1632, allocations: 0 / 334.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008147/0.164, allocations: 464.1 kB / 334.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.1641, allocations: 170.3 kB / 334.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006602/0.1648, allocations: 0.5129 MB / 335.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.1648, allocations: 33.7 kB / 335.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.1649, allocations: 105 kB / 335.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.165, allocations: 31.64 kB / 335.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.165, allocations: 25.7 kB / 335.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1652, allocations: 326.8 kB / 335.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1653, allocations: 59.97 kB / 336 MB, free: 12.39 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.1654, allocations: 69.69 kB / 336.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.1658, allocations: 343.2 kB / 336.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1658, allocations: 0 / 336.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005337/0.1663, allocations: 376.7 kB / 336.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.1665, allocations: 126.8 kB / 336.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1665, allocations: 0 / 336.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1665, allocations: 4.031 kB / 336.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.89e-05/0.1665, allocations: 0 / 336.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1665, allocations: 11.92 kB / 336.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.1667, allocations: 11.91 kB / 336.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/0.1668, allocations: 40 kB / 337 MB, free: 11.31 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.0004186/0.1672, allocations: 366.2 kB / 337.3 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.1673, allocations: 39.61 kB / 337.4 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.1674, allocations: 63.16 kB / 337.4 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1674, allocations: 4 kB / 337.4 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.1674, allocations: 0 / 337.4 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1675, allocations: 0 / 337.4 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.1686, allocations: 0.8095 MB / 338.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1686, allocations: 0 / 338.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.1687, allocations: 4 kB / 338.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1687, allocations: 0 / 338.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.1687, allocations: 11.98 kB / 338.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1687, allocations: 0 / 338.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1687, allocations: 3.938 kB / 338.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007216/0.1695, allocations: 0.5252 MB / 338.8 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.1698, allocations: 252.3 kB / 339 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.1699, allocations: 19.92 kB / 339 MB, free: 9.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1701, allocations: 11.98 kB / 339.1 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.1702, allocations: 35.84 kB / 339.1 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/0.1703, allocations: 43.92 kB / 339.1 MB, free: 8.957 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004703/0.1708, allocations: 390.9 kB / 339.5 MB, free: 8.578 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1708, allocations: 0 / 339.5 MB, free: 8.578 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1711, allocations: 48 kB / 339.6 MB, free: 8.531 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.0001599/0.1712, allocations: 123.2 kB / 339.7 MB, free: 8.402 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005395/0.1718, allocations: 433.5 kB / 340.1 MB, free: 7.93 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1718, allocations: 0 / 340.1 MB, free: 7.93 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.1721, allocations: 377.5 kB / 340.5 MB, free: 7.512 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.1728, allocations: 109.5 kB / 340.6 MB, free: 7.402 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.174, allocations: 0.7508 MB / 341.3 MB, free: 6.629 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.1745, allocations: 0.81 MB / 342.1 MB, free: 5.793 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.988e-05/0.1745, allocations: 8.656 kB / 342.1 MB, free: 5.781 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.1746, allocations: 11.44 kB / 342.2 MB, free: 5.77 MB / 286.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1746, allocations: 0 / 342.2 MB, free: 5.77 MB / 286.1 MB Notification: Performance of Templates: time 0.008662/0.1832, allocations: 3.987 MB / 346.1 MB, free: 1.738 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