Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.92 kB / 306.9 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1379, allocations: 50.54 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002617/0.1405, allocations: 1.512 MB / 359 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1424, allocations: 0.8787 MB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.1426, allocations: 0 / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.725e-05/0.1426, allocations: 11.86 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.213e-05/0.1427, allocations: 23.86 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.143, allocations: 51.88 kB / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.1432, allocations: 135.7 kB / 360.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1433, allocations: 24.2 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006258/0.144, allocations: 0.5615 MB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1441, allocations: 75.69 kB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.1442, allocations: 12 kB / 360.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-05/0.1442, allocations: 8 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.712e-05/0.1443, allocations: 71.64 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1445, allocations: 115.2 kB / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.1448, allocations: 366.7 kB / 361.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1449, allocations: 0 / 361.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1449, allocations: 0 / 361.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.1449, allocations: 3.984 kB / 361.3 MB, free: 10.19 MB / 302.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.000909/0.1458, allocations: 0.7113 MB / 362 MB, free: 9.402 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1458, allocations: 16.03 kB / 362 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.1459, allocations: 36.47 kB / 362.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1462, allocations: 278.3 kB / 362.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.1462, allocations: 8.375 kB / 362.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.1463, allocations: 8.375 kB / 362.4 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.1466, allocations: 129.9 kB / 362.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1466, allocations: 0 / 362.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.1466, allocations: 4 kB / 362.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1466, allocations: 0 / 362.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.1468, allocations: 63.95 kB / 362.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.1474, allocations: 468.5 kB / 363 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1476, allocations: 94.55 kB / 363.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1478, allocations: 88.88 kB / 363.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1478, allocations: 4 kB / 363.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003527/0.1482, allocations: 210.5 kB / 363.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.694e-06/0.1482, allocations: 0 / 363.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007686/0.1489, allocations: 476.1 kB / 363.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/0.149, allocations: 170.2 kB / 364 MB, free: 7.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/0.1497, allocations: 0.5091 MB / 364.5 MB, free: 6.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.1497, allocations: 29.7 kB / 364.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.1498, allocations: 105 kB / 364.7 MB, free: 6.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.1498, allocations: 31.59 kB / 364.7 MB, free: 6.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.1499, allocations: 85.41 kB / 364.8 MB, free: 6.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.15, allocations: 326.8 kB / 365.1 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1502, allocations: 59.97 kB / 365.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.1503, allocations: 69.75 kB / 365.2 MB, free: 5.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.1507, allocations: 347.3 kB / 365.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1507, allocations: 3.938 kB / 365.6 MB, free: 5.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005404/0.1512, allocations: 391.5 kB / 365.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.122e-05/0.1513, allocations: 126.8 kB / 366.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1513, allocations: 0 / 366.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1514, allocations: 0 / 366.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.56e-05/0.1514, allocations: 0 / 366.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1514, allocations: 0 / 366.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.1515, allocations: 19.92 kB / 366.1 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/0.1516, allocations: 59.88 kB / 366.2 MB, free: 4.914 MB / 302.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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0003441/0.152, allocations: 370.7 kB / 366.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.152, allocations: 35.62 kB / 366.5 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.1522, allocations: 71.12 kB / 366.6 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.1522, allocations: 4 kB / 366.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1522, allocations: 0 / 366.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1522, allocations: 0 / 366.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.1532, allocations: 0.8133 MB / 367.4 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1532, allocations: 4 kB / 367.4 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-06/0.1532, allocations: 8.047 kB / 367.4 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1532, allocations: 3.938 kB / 367.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.1532, allocations: 16 kB / 367.5 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1533, allocations: 0 / 367.5 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.1533, allocations: 7.922 kB / 367.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.1539, allocations: 0.5252 MB / 368 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.1542, allocations: 252.4 kB / 368.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.1543, allocations: 16.17 kB / 368.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1545, allocations: 16 kB / 368.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.1546, allocations: 31.91 kB / 368.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.1546, allocations: 55.94 kB / 368.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004386/0.1551, allocations: 386.9 kB / 368.7 MB, free: 2.145 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1551, allocations: 0 / 368.7 MB, free: 2.145 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.1554, allocations: 48 kB / 368.8 MB, free: 2.098 MB / 302.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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001438/0.1555, allocations: 114.9 kB / 368.9 MB, free: 1.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005133/0.1561, allocations: 441.5 kB / 369.3 MB, free: 1.496 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1561, allocations: 4 kB / 369.3 MB, free: 1.492 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.1564, allocations: 381.5 kB / 369.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.157, allocations: 115.3 kB / 369.8 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1581, allocations: 0.6537 MB / 370.5 MB, free: 296 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.15/0.3081, allocations: 0.8 MB / 371.3 MB, free: 20.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.193e-05/0.3082, allocations: 5.328 kB / 371.3 MB, free: 20.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.3083, allocations: 15.59 kB / 371.3 MB, free: 20.06 MB / 302.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3083, allocations: 0 / 371.3 MB, free: 20.06 MB / 302.1 MB Notification: Performance of Templates: time 0.01002/0.3183, allocations: 4.658 MB / 376 MB, free: 19.64 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches