Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001564, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 95.56 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003916, allocations: 12 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3276, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.4583, allocations: 81.37 MB / 455.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.4587, allocations: 75.95 kB / 456 MB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05933/0.518, allocations: 16.42 MB / 472.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5181, allocations: 0 / 472.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.5181, allocations: 8 kB / 472.4 MB, free: 14.94 MB / 362.7 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.0009602/0.5191, allocations: 0.6643 MB / 473.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.5191, allocations: 12.03 kB / 473.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.5192, allocations: 35.62 kB / 473.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.5196, allocations: 257.4 kB / 473.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.5197, allocations: 8 kB / 473.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.5197, allocations: 11.94 kB / 473.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.5202, allocations: 129.6 kB / 473.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5202, allocations: 0 / 473.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.5202, allocations: 7.938 kB / 473.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.5203, allocations: 0 / 473.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.5205, allocations: 63.95 kB / 473.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000871/0.5214, allocations: 460.5 kB / 474 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.5217, allocations: 102.5 kB / 474.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.5217, allocations: 0 / 474.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/0.5222, allocations: 210.7 kB / 474.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.5222, allocations: 0 / 474.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001351/0.5236, allocations: 0.6115 MB / 474.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.5237, allocations: 166.2 kB / 475.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/0.5246, allocations: 464.5 kB / 475.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.5247, allocations: 29.7 kB / 475.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.5248, allocations: 159.6 kB / 475.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/0.5249, allocations: 31.69 kB / 475.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.5249, allocations: 4 kB / 475.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5251, allocations: 322.8 kB / 476.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.5253, allocations: 55.97 kB / 476.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.5256, allocations: 81.61 kB / 476.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.5259, allocations: 158.8 kB / 476.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5259, allocations: 0 / 476.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009203/0.5268, allocations: 372.2 kB / 476.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.527, allocations: 126.8 kB / 476.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.527, allocations: 0 / 476.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.527, allocations: 4.031 kB / 476.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.049e-05/0.5271, allocations: 3.938 kB / 476.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5271, allocations: 4 kB / 476.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.5273, allocations: 8 kB / 476.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.5275, allocations: 67.98 kB / 477 MB, free: 9.957 MB / 362.7 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.0005986/0.5281, allocations: 362.9 kB / 477.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.55e-05/0.5282, allocations: 43.47 kB / 477.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.5283, allocations: 71.14 kB / 477.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.5283, allocations: 0 / 477.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5284, allocations: 0 / 477.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5284, allocations: 0 / 477.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.5299, allocations: 0.8138 MB / 478.2 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5299, allocations: 0 / 478.2 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-06/0.5299, allocations: 0 / 478.2 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5299, allocations: 0 / 478.2 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.53, allocations: 16 kB / 478.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.53, allocations: 0 / 478.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.53, allocations: 7.984 kB / 478.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.531, allocations: 0.5173 MB / 478.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.5316, allocations: 244.5 kB / 479 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/0.5317, allocations: 12 kB / 479 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.5319, allocations: 15.92 kB / 479 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.5321, allocations: 27.97 kB / 479.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.5322, allocations: 55.94 kB / 479.1 MB, free: 7.617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008007/0.533, allocations: 394.8 kB / 479.5 MB, free: 7.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.533, allocations: 0 / 479.5 MB, free: 7.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004311/0.5335, allocations: 44 kB / 479.6 MB, free: 7.195 MB / 362.7 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.0002043/0.5337, allocations: 122 kB / 479.7 MB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008477/0.5346, allocations: 433.5 kB / 480.1 MB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5346, allocations: 0 / 480.1 MB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.5351, allocations: 373.5 kB / 480.5 MB, free: 6.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008247/0.536, allocations: 112.7 kB / 480.6 MB, free: 6.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.5378, allocations: 0.7846 MB / 481.4 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.5384, allocations: 0.8101 MB / 482.2 MB, free: 4.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.5384, allocations: 7.438 kB / 482.2 MB, free: 4.41 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.5384, allocations: 0 / 482.2 MB, free: 4.41 MB / 362.7 MB Notification: Performance of Templates: time 0.006519/0.5449, allocations: 2.625 MB / 484.8 MB, free: 1.727 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches