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.001639/0.00164, allocations: 114.4 kB / 17.28 MB, free: 6.219 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.001702/0.001702, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.967/1.967, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001231/0.001232, allocations: 43.94 kB / 280.1 MB, free: 3.516 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1409, allocations: 46.63 MB / 326.8 MB, free: 4.82 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003142/0.1441, allocations: 1.581 MB / 328.4 MB, free: 3.223 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1462, allocations: 0.8828 MB / 329.2 MB, free: 2.332 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.1463, allocations: 0 / 329.2 MB, free: 2.332 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.1464, allocations: 7.922 kB / 329.2 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.838e-05/0.1465, allocations: 7.938 kB / 329.2 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.1468, allocations: 55.89 kB / 329.3 MB, free: 2.262 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.147, allocations: 143.8 kB / 329.4 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.1472, allocations: 27.92 kB / 329.5 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004845/0.1477, allocations: 391.3 kB / 329.9 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1478, allocations: 71.7 kB / 329.9 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.1479, allocations: 12 kB / 329.9 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.778e-05/0.1479, allocations: 8 kB / 329.9 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.148, allocations: 71.69 kB / 330 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1481, allocations: 115.1 kB / 330.1 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.1485, allocations: 350.8 kB / 330.5 MB, free: 1.094 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1485, allocations: 0 / 330.5 MB, free: 1.094 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1485, allocations: 7.938 kB / 330.5 MB, free: 1.086 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1486, allocations: 0 / 330.5 MB, free: 1.086 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.000808/0.1494, allocations: 0.7152 MB / 331.2 MB, free: 304 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1494, allocations: 8.031 kB / 331.2 MB, free: 296 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.1495, allocations: 44.47 kB / 331.2 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1498, allocations: 274.3 kB / 331.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.1499, allocations: 12.38 kB / 331.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.1499, allocations: 4.375 kB / 331.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.1503, allocations: 129.9 kB / 331.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1503, allocations: 0 / 331.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.1503, allocations: 7.984 kB / 331.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.1504, allocations: 0 / 331.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1505, allocations: 55.97 kB / 331.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007289/0.1512, allocations: 460.5 kB / 332.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.1515, allocations: 94.55 kB / 332.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.1516, allocations: 80.88 kB / 332.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.1517, allocations: 4 kB / 332.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003957/0.1521, allocations: 210.5 kB / 332.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 3.346e-06/0.1521, allocations: 112 / 332.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007899/0.1529, allocations: 476.4 kB / 333 MB, free: 14.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.153, allocations: 162.2 kB / 333.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.1536, allocations: 0.5129 MB / 333.7 MB, free: 13.6 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.1537, allocations: 37.69 kB / 333.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.1538, allocations: 93.14 kB / 333.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.1538, allocations: 43.56 kB / 333.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.154, allocations: 77.42 kB / 333.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1541, allocations: 330.8 kB / 334.3 MB, free: 13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1543, allocations: 51.97 kB / 334.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.1544, allocations: 81.73 kB / 334.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.1548, allocations: 339.3 kB / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1548, allocations: 4 kB / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005769/0.1554, allocations: 376.2 kB / 335.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.1555, allocations: 130.8 kB / 335.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1555, allocations: 80 / 335.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.1556, allocations: 0 / 335.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-05/0.1556, allocations: 4 kB / 335.2 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1556, allocations: 3.984 kB / 335.2 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.1558, allocations: 11.98 kB / 335.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.1559, allocations: 43.94 kB / 335.3 MB, free: 11.86 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.0004263/0.1563, allocations: 370.1 kB / 335.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.1564, allocations: 35.62 kB / 335.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.1565, allocations: 63.16 kB / 335.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1565, allocations: 0 / 335.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1565, allocations: 0 / 335.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1565, allocations: 3.984 kB / 335.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.1576, allocations: 0.8172 MB / 336.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1577, allocations: 0 / 336.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.039e-05/0.1577, allocations: 4 kB / 336.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1577, allocations: 7.938 kB / 336.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.1577, allocations: 8 kB / 336.6 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1577, allocations: 0 / 336.6 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.1578, allocations: 7.922 kB / 336.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/0.1585, allocations: 0.5174 MB / 337.1 MB, free: 9.875 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.1589, allocations: 252.3 kB / 337.3 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/0.159, allocations: 12 kB / 337.4 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.1591, allocations: 12 kB / 337.4 MB, free: 9.586 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.1593, allocations: 27.91 kB / 337.4 MB, free: 9.559 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.1594, allocations: 44.12 kB / 337.4 MB, free: 9.516 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007074/0.1601, allocations: 390.9 kB / 337.8 MB, free: 9.137 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1601, allocations: 0 / 337.8 MB, free: 9.137 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.1604, allocations: 44 kB / 337.9 MB, free: 9.094 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.0002119/0.1606, allocations: 123 kB / 338 MB, free: 8.965 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006325/0.1612, allocations: 433.5 kB / 338.4 MB, free: 8.492 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.1613, allocations: 8.062 kB / 338.4 MB, free: 8.484 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.1616, allocations: 377.5 kB / 338.8 MB, free: 8.066 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.1623, allocations: 126.3 kB / 338.9 MB, free: 7.941 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1636, allocations: 0.7475 MB / 339.7 MB, free: 7.168 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.1641, allocations: 0.8019 MB / 340.5 MB, free: 6.34 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.324e-05/0.1642, allocations: 8.656 kB / 340.5 MB, free: 6.328 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.1642, allocations: 15.44 kB / 340.5 MB, free: 6.312 MB / 286.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1642, allocations: 4 kB / 340.5 MB, free: 6.309 MB / 286.1 MB Notification: Performance of Templates: time 0.009541/0.1737, allocations: 4.387 MB / 344.9 MB, free: 1.879 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