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.001243/0.001243, allocations: 90.25 kB / 16.95 MB, free: 6.898 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.00168/0.00168, allocations: 187.9 kB / 17.84 MB, free: 6.145 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.861/1.861, allocations: 205.4 MB / 224 MB, free: 13.09 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.0004938/0.0004938, allocations: 8 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1436, allocations: 47.58 MB / 328.4 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001963/0.1457, allocations: 1.192 MB / 329.5 MB, free: 2.871 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.148, allocations: 0.8443 MB / 330.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.1481, allocations: 0 / 330.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.1482, allocations: 11.92 kB / 330.4 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.1483, allocations: 19.91 kB / 330.4 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.1487, allocations: 35.95 kB / 330.5 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1489, allocations: 107.7 kB / 330.6 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.149, allocations: 8.234 kB / 330.6 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000668/0.1497, allocations: 495.1 kB / 331.1 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1499, allocations: 75.83 kB / 331.1 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.505e-05/0.1499, allocations: 4 kB / 331.1 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.806e-05/0.15, allocations: 4 kB / 331.1 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1501, allocations: 63.77 kB / 331.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.469e-05/0.1502, allocations: 69.52 kB / 331.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.1505, allocations: 299.3 kB / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.1506, allocations: 0 / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of FrontEnd: time 5.02e-06/0.1506, allocations: 0 / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1506, allocations: 3.938 kB / 331.6 MB, free: 0.8359 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.0009306/0.1515, allocations: 0.6608 MB / 332.2 MB, free: 104 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.1516, allocations: 8.031 kB / 332.2 MB, free: 96 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.338e-05/0.1517, allocations: 35.62 kB / 332.3 MB, free: 60 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.1521, allocations: 265.3 kB / 332.5 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.1521, allocations: 8 kB / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.1522, allocations: 8 kB / 332.5 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.1526, allocations: 129.6 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1526, allocations: 0 / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.1526, allocations: 8 kB / 332.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1526, allocations: 0 / 332.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.1528, allocations: 63.89 kB / 332.7 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/0.1535, allocations: 464.5 kB / 333.2 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1537, allocations: 90.55 kB / 333.3 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.1539, allocations: 92.81 kB / 333.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.1539, allocations: 0 / 333.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003956/0.1543, allocations: 210.7 kB / 333.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.1543, allocations: 0 / 333.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008241/0.1552, allocations: 476 kB / 334 MB, free: 14.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.1553, allocations: 170.2 kB / 334.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006557/0.156, allocations: 0.5168 MB / 334.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.156, allocations: 33.7 kB / 334.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.1561, allocations: 97.05 kB / 334.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.1561, allocations: 31.64 kB / 334.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.1562, allocations: 0 / 334.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1563, allocations: 334.8 kB / 335.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1565, allocations: 56.08 kB / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.1566, allocations: 77.62 kB / 335.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.1568, allocations: 162.8 kB / 335.5 MB, free: 12.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1568, allocations: 0 / 335.5 MB, free: 12.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005765/0.1574, allocations: 384.3 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.1575, allocations: 126.8 kB / 336 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.1576, allocations: 4.031 kB / 336 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.1576, allocations: 4 kB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.2e-05/0.1576, allocations: 0 / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1576, allocations: 0 / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.1578, allocations: 12 kB / 336 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/0.1579, allocations: 71.81 kB / 336.1 MB, free: 11.92 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.0004106/0.1583, allocations: 362.8 kB / 336.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.1584, allocations: 35.53 kB / 336.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.1585, allocations: 71.14 kB / 336.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1585, allocations: 0 / 336.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1586, allocations: 0 / 336.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1586, allocations: 0 / 336.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.1597, allocations: 0.8177 MB / 337.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1597, allocations: 192 / 337.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.045e-05/0.1597, allocations: 8 kB / 337.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1597, allocations: 3.938 kB / 337.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.1598, allocations: 11.98 kB / 337.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1598, allocations: 4 kB / 337.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1598, allocations: 4 kB / 337.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.1606, allocations: 0.5407 MB / 337.9 MB, free: 9.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.1609, allocations: 240.5 kB / 338.2 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/0.161, allocations: 8 kB / 338.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.1611, allocations: 15.98 kB / 338.2 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.1613, allocations: 23.97 kB / 338.2 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.351e-05/0.1614, allocations: 59.94 kB / 338.3 MB, free: 9.551 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004829/0.1619, allocations: 394.8 kB / 338.7 MB, free: 9.168 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1619, allocations: 0 / 338.7 MB, free: 9.168 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.1622, allocations: 47.89 kB / 338.7 MB, free: 9.121 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.000197/0.1624, allocations: 117.8 kB / 338.8 MB, free: 8.996 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005625/0.1629, allocations: 437.5 kB / 339.3 MB, free: 8.52 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1629, allocations: 0 / 339.3 MB, free: 8.52 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.1633, allocations: 385.5 kB / 339.6 MB, free: 8.094 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.1639, allocations: 97.52 kB / 339.7 MB, free: 7.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1652, allocations: 0.7425 MB / 340.5 MB, free: 7.23 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.1657, allocations: 0.8025 MB / 341.3 MB, free: 6.402 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.209e-05/0.1657, allocations: 4.656 kB / 341.3 MB, free: 6.398 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.1658, allocations: 11.44 kB / 341.3 MB, free: 6.387 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1658, allocations: 0 / 341.3 MB, free: 6.387 MB / 286.1 MB Notification: Performance of Templates: time 0.008364/0.1742, allocations: 4.054 MB / 345.3 MB, free: 2.246 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile (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) 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