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.0009786/0.0009786, allocations: 97.02 kB / 17.3 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.001009/0.001009, allocations: 179 kB / 18.21 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 1.6/1.6, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004908/0.0004912, allocations: 12 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1246, allocations: 47.57 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001871/0.1265, allocations: 1.219 MB / 330.2 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1284, allocations: 0.9063 MB / 331.1 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.1285, allocations: 0 / 331.1 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.1286, allocations: 7.922 kB / 331.1 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.1287, allocations: 11.92 kB / 331.1 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1289, allocations: 39.95 kB / 331.1 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1291, allocations: 107.7 kB / 331.2 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1292, allocations: 24.22 kB / 331.3 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006309/0.1299, allocations: 0.5576 MB / 331.8 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1301, allocations: 71.64 kB / 331.9 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.1301, allocations: 0 / 331.9 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-05/0.1301, allocations: 4 kB / 331.9 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.1303, allocations: 59.77 kB / 332 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.1304, allocations: 144.8 kB / 332.1 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.1308, allocations: 342.7 kB / 332.4 MB, free: 268 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1308, allocations: 0 / 332.4 MB, free: 268 kB / 270.1 MB Notification: Performance of FrontEnd: time 4.428e-06/0.1308, allocations: 0 / 332.4 MB, free: 268 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1308, allocations: 3.938 kB / 332.4 MB, free: 264 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.0007429/0.1316, allocations: 0.6685 MB / 333.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1316, allocations: 8.031 kB / 333.1 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.1317, allocations: 36.56 kB / 333.1 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1321, allocations: 274.3 kB / 333.4 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.1321, allocations: 8.312 kB / 333.4 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.1321, allocations: 12.38 kB / 333.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.1325, allocations: 129.9 kB / 333.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.1325, allocations: 0 / 333.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.1325, allocations: 4 kB / 333.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1325, allocations: 0 / 333.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.1327, allocations: 59.97 kB / 333.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.1334, allocations: 460.4 kB / 334.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.1336, allocations: 98.55 kB / 334.2 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.1338, allocations: 84.83 kB / 334.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1338, allocations: 4 kB / 334.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/0.1343, allocations: 202.7 kB / 334.5 MB, free: 14.03 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 4.709e-06/0.1343, allocations: 7.922 kB / 334.5 MB, free: 14.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008448/0.1351, allocations: 488 kB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.1352, allocations: 166.2 kB / 335.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/0.136, allocations: 0.513 MB / 335.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.1361, allocations: 29.7 kB / 335.6 MB, free: 12.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.1361, allocations: 109 kB / 335.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.1362, allocations: 31.59 kB / 335.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.1363, allocations: 25.7 kB / 335.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.1365, allocations: 322.8 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1366, allocations: 55.97 kB / 336.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.1368, allocations: 77.67 kB / 336.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.1372, allocations: 343.3 kB / 336.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1372, allocations: 0 / 336.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005579/0.1378, allocations: 396.6 kB / 337 MB, free: 11.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.1379, allocations: 125.4 kB / 337.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1379, allocations: 0 / 337.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/0.138, allocations: 4.109 kB / 337.1 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.601e-05/0.138, allocations: 3.938 kB / 337.1 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.138, allocations: 0 / 337.1 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.1382, allocations: 12 kB / 337.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/0.1383, allocations: 67.95 kB / 337.2 MB, free: 11.09 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,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0004132/0.1387, allocations: 374.8 kB / 337.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.1388, allocations: 39.53 kB / 337.6 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.1389, allocations: 59.16 kB / 337.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1389, allocations: 0 / 337.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1389, allocations: 0 / 337.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1389, allocations: 0 / 337.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009735/0.1399, allocations: 0.8212 MB / 338.5 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1399, allocations: 4 kB / 338.5 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-06/0.1399, allocations: 0 / 338.5 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1399, allocations: 0 / 338.5 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.14, allocations: 15.98 kB / 338.5 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.14, allocations: 0 / 338.5 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.14, allocations: 7.875 kB / 338.5 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.1407, allocations: 0.533 MB / 339 MB, free: 9.082 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.1411, allocations: 236.5 kB / 339.3 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.1412, allocations: 16 kB / 339.3 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1413, allocations: 15.92 kB / 339.3 MB, free: 8.801 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.1415, allocations: 27.92 kB / 339.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.678e-05/0.1415, allocations: 63.92 kB / 339.4 MB, free: 8.711 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005433/0.1421, allocations: 386.9 kB / 339.8 MB, free: 8.336 MB / 286.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.1421, allocations: 0 / 339.8 MB, free: 8.336 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000301/0.1424, allocations: 47.94 kB / 339.8 MB, free: 8.289 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 (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.0002135/0.1426, allocations: 121.6 kB / 339.9 MB, free: 8.16 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006661/0.1433, allocations: 441.6 kB / 340.4 MB, free: 7.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1433, allocations: 0 / 340.4 MB, free: 7.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.1437, allocations: 373.7 kB / 340.7 MB, free: 7.266 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.1444, allocations: 109.6 kB / 340.8 MB, free: 7.156 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.1458, allocations: 0.7622 MB / 341.6 MB, free: 6.371 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.1464, allocations: 0.8024 MB / 342.4 MB, free: 5.543 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.115e-05/0.1464, allocations: 20.62 kB / 342.4 MB, free: 5.523 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.1465, allocations: 11.44 kB / 342.4 MB, free: 5.512 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1465, allocations: 0 / 342.4 MB, free: 5.512 MB / 286.1 MB Notification: Performance of Templates: time 0.007951/0.1544, allocations: 4.131 MB / 346.6 MB, free: 1.293 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