Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 90.78 kB / 16.93 MB, free: 5.98 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.001424/0.001425, allocations: 180.4 kB / 17.82 MB, free: 5.648 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.847/1.847, 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.0005979/0.0005981, allocations: 11.94 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1433, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002135/0.1455, allocations: 1.19 MB / 329.5 MB, free: 2.898 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1475, allocations: 0.8553 MB / 330.4 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.1476, allocations: 0 / 330.4 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.768e-05/0.1477, allocations: 7.922 kB / 330.4 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.477e-05/0.1478, allocations: 11.98 kB / 330.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.1481, allocations: 35.84 kB / 330.4 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1483, allocations: 75.84 kB / 330.5 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1484, allocations: 12.22 kB / 330.5 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005059/0.1489, allocations: 431.2 kB / 330.9 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1491, allocations: 75.81 kB / 331 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.1491, allocations: 4 kB / 331 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.14e-05/0.1492, allocations: 4 kB / 331 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.222e-05/0.1493, allocations: 59.77 kB / 331.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.1494, allocations: 69.58 kB / 331.1 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.1497, allocations: 295.2 kB / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1497, allocations: 0 / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1497, allocations: 0 / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1497, allocations: 0 / 331.4 MB, free: 0.9648 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.0007598/0.1505, allocations: 0.6647 MB / 332.1 MB, free: 232 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1505, allocations: 8.031 kB / 332.1 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.928e-05/0.1506, allocations: 35.62 kB / 332.1 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.1511, allocations: 269.2 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1511, allocations: 4 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.1511, allocations: 8 kB / 332.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.1515, allocations: 125.6 kB / 332.5 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1515, allocations: 0 / 332.5 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.1515, allocations: 11.98 kB / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1516, allocations: 0 / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.1517, allocations: 63.97 kB / 332.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009423/0.1527, allocations: 460.5 kB / 333.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.1529, allocations: 90.55 kB / 333.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1529, allocations: 0 / 333.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004605/0.1534, allocations: 210.7 kB / 333.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 4.759e-06/0.1534, allocations: 0 / 333.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009907/0.1544, allocations: 0.631 MB / 334 MB, free: 14.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.1545, allocations: 166.2 kB / 334.1 MB, free: 13.94 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.1553, allocations: 0.5129 MB / 334.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.1553, allocations: 33.7 kB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1554, allocations: 101 kB / 334.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.1555, allocations: 35.58 kB / 334.8 MB, free: 13.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.1555, allocations: 4 kB / 334.8 MB, free: 13.24 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1557, allocations: 330.8 kB / 335.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1558, allocations: 55.97 kB / 335.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.156, allocations: 77.33 kB / 335.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.1562, allocations: 166.8 kB / 335.4 MB, free: 12.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1562, allocations: 0 / 335.4 MB, free: 12.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005604/0.1568, allocations: 396.6 kB / 335.8 MB, free: 12.17 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.1569, allocations: 122.8 kB / 335.9 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1569, allocations: 3.938 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.157, allocations: 0 / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.627e-05/0.157, allocations: 4 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.157, allocations: 128 / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.1572, allocations: 15.98 kB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/0.1573, allocations: 63.94 kB / 336 MB, free: 11.94 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.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.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.0004091/0.1577, allocations: 362.9 kB / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.1578, allocations: 43.47 kB / 336.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.1579, allocations: 67.12 kB / 336.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1579, allocations: 0 / 336.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1579, allocations: 4 kB / 336.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1579, allocations: 0 / 336.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.1591, allocations: 0.8173 MB / 337.3 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1591, allocations: 0 / 337.3 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-06/0.1591, allocations: 0 / 337.3 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1591, allocations: 0 / 337.3 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.1591, allocations: 16 kB / 337.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1591, allocations: 0 / 337.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1592, allocations: 0 / 337.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.1598, allocations: 0.5446 MB / 337.9 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.1601, allocations: 240.5 kB / 338.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.1602, allocations: 11.98 kB / 338.1 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1604, allocations: 12 kB / 338.1 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.1605, allocations: 31.97 kB / 338.2 MB, free: 9.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.106e-05/0.1606, allocations: 63.92 kB / 338.2 MB, free: 9.559 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004864/0.1611, allocations: 386.9 kB / 338.6 MB, free: 9.184 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1611, allocations: 0 / 338.6 MB, free: 9.184 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1614, allocations: 43.94 kB / 338.7 MB, free: 9.141 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001772/0.1616, allocations: 118 kB / 338.8 MB, free: 9.016 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006378/0.1622, allocations: 441.5 kB / 339.2 MB, free: 8.535 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.1622, allocations: 4.062 kB / 339.2 MB, free: 8.531 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.1626, allocations: 377.6 kB / 339.6 MB, free: 8.113 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.1632, allocations: 93.45 kB / 339.7 MB, free: 8.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.1647, allocations: 0.7388 MB / 340.4 MB, free: 7.258 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/0.1655, allocations: 0.8024 MB / 341.2 MB, free: 6.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.939e-05/0.1656, allocations: 8.656 kB / 341.2 MB, free: 6.422 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.1656, allocations: 11.44 kB / 341.2 MB, free: 6.41 MB / 286.1 MB Notification: Performance of SimCode: time 1.462e-06/0.1656, allocations: 0 / 341.2 MB, free: 6.41 MB / 286.1 MB Notification: Performance of Templates: time 0.008789/0.1744, allocations: 4.057 MB / 345.3 MB, free: 2.266 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches