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.001249/0.001249, allocations: 96.8 kB / 16.93 MB, free: 5.984 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.001602/0.001602, allocations: 180.1 kB / 17.82 MB, free: 5.652 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.754/1.754, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005693/0.00057, allocations: 8 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1399, allocations: 47.59 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002265/0.1423, allocations: 1.194 MB / 329.5 MB, free: 2.902 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.1449, allocations: 0.8514 MB / 330.4 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.145, allocations: 0 / 330.4 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1452, allocations: 7.922 kB / 330.4 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.1454, allocations: 15.97 kB / 330.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.1458, allocations: 39.83 kB / 330.4 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.146, allocations: 67.92 kB / 330.5 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.1462, allocations: 23.98 kB / 330.5 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000726/0.1469, allocations: 299.4 kB / 330.8 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1471, allocations: 63.83 kB / 330.9 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.1471, allocations: 4 kB / 330.9 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.946e-05/0.1472, allocations: 4 kB / 330.9 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.1473, allocations: 67.75 kB / 331 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.765e-05/0.1474, allocations: 73.52 kB / 331 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.1477, allocations: 279.3 kB / 331.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1477, allocations: 4 kB / 331.3 MB, free: 1.105 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.1477, allocations: 4 kB / 331.3 MB, free: 1.102 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1477, allocations: 0 / 331.3 MB, free: 1.102 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.0007528/0.1485, allocations: 0.6646 MB / 332 MB, free: 372 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1486, allocations: 8.031 kB / 332 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.1487, allocations: 39.47 kB / 332 MB, free: 324 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.149, allocations: 257.3 kB / 332.3 MB, free: 24 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1491, allocations: 8 kB / 332.3 MB, free: 16 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.1491, allocations: 8 kB / 332.3 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.1495, allocations: 121.7 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1495, allocations: 4 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.1495, allocations: 4 kB / 332.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1495, allocations: 3.984 kB / 332.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.1497, allocations: 59.91 kB / 332.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007698/0.1505, allocations: 456.5 kB / 332.9 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.1507, allocations: 106.5 kB / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.1507, allocations: 0 / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.1511, allocations: 202.8 kB / 333.2 MB, free: 14.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.1511, allocations: 0 / 333.2 MB, free: 14.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001032/0.1521, allocations: 0.6155 MB / 333.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.1523, allocations: 166.2 kB / 334 MB, free: 14.1 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007842/0.1531, allocations: 0.5129 MB / 334.5 MB, free: 13.58 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.1531, allocations: 41.69 kB / 334.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.1532, allocations: 97.05 kB / 334.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.1533, allocations: 35.62 kB / 334.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.1533, allocations: 7.938 kB / 334.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1535, allocations: 326.8 kB / 335 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1536, allocations: 55.97 kB / 335.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1537, allocations: 69.69 kB / 335.1 MB, free: 12.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.1539, allocations: 166.8 kB / 335.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.154, allocations: 0 / 335.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006466/0.1546, allocations: 376.3 kB / 335.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.62e-05/0.1547, allocations: 122.8 kB / 335.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1547, allocations: 0 / 335.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1548, allocations: 0 / 335.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-05/0.1548, allocations: 7.984 kB / 335.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1548, allocations: 80 / 335.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.155, allocations: 15.91 kB / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.1551, allocations: 59.98 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.0003971/0.1555, allocations: 362.3 kB / 336.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.1555, allocations: 35.62 kB / 336.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.1557, allocations: 63.16 kB / 336.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.1557, allocations: 0 / 336.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1557, allocations: 0 / 336.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1557, allocations: 0 / 336.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.1569, allocations: 0.8095 MB / 337.1 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.1569, allocations: 8 kB / 337.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-06/0.1569, allocations: 0 / 337.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1569, allocations: 3.938 kB / 337.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.157, allocations: 11.98 kB / 337.1 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.157, allocations: 0 / 337.1 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.157, allocations: 0 / 337.1 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.1576, allocations: 0.5333 MB / 337.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003571/0.158, allocations: 244.4 kB / 337.9 MB, free: 9.883 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.1581, allocations: 12 kB / 337.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.1582, allocations: 19.92 kB / 337.9 MB, free: 9.852 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.1584, allocations: 23.97 kB / 338 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.97e-05/0.1585, allocations: 43.94 kB / 338 MB, free: 9.785 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005159/0.159, allocations: 390.8 kB / 338.4 MB, free: 9.406 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.159, allocations: 4 kB / 338.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003045/0.1593, allocations: 40 kB / 338.4 MB, free: 9.363 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.0001945/0.1595, allocations: 122.9 kB / 338.6 MB, free: 9.234 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005696/0.1601, allocations: 437.5 kB / 339 MB, free: 8.758 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1601, allocations: 0 / 339 MB, free: 8.758 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.1605, allocations: 377.6 kB / 339.4 MB, free: 8.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.1611, allocations: 109.1 kB / 339.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.1624, allocations: 0.7348 MB / 340.2 MB, free: 7.477 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/0.1631, allocations: 0.8064 MB / 341 MB, free: 6.645 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.254e-05/0.1632, allocations: 12.66 kB / 341 MB, free: 6.629 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.1632, allocations: 11.44 kB / 341 MB, free: 6.617 MB / 286.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1632, allocations: 0 / 341 MB, free: 6.617 MB / 286.1 MB Notification: Performance of Templates: time 0.009694/0.1729, allocations: 3.892 MB / 344.9 MB, free: 2.684 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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