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.001457/0.001457, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.977/1.977, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001059/0.001059, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.936e-05/2.956e-05, allocations: 0 / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.09938, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4917/0.5912, allocations: 81.27 MB / 450.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5915, allocations: 69.84 kB / 450.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06086/0.6524, allocations: 16.52 MB / 466.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6525, allocations: 0 / 466.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.6525, allocations: 4 kB / 466.9 MB, free: 13.39 MB / 346.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.0007851/0.6533, allocations: 0.6175 MB / 467.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.6534, allocations: 8.031 kB / 467.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.6535, allocations: 35.62 kB / 467.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.654, allocations: 261.4 kB / 467.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.654, allocations: 8 kB / 467.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.6541, allocations: 4 kB / 467.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.6544, allocations: 125.6 kB / 468 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.6545, allocations: 0 / 468 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/0.6545, allocations: 11.94 kB / 468 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6545, allocations: 0 / 468 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.6547, allocations: 59.92 kB / 468.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.6558, allocations: 472.4 kB / 468.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.6561, allocations: 90.56 kB / 468.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.6563, allocations: 94.14 kB / 468.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.6563, allocations: 0 / 468.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/0.6568, allocations: 206.8 kB / 468.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.706e-06/0.6568, allocations: 3.938 kB / 468.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009931/0.6578, allocations: 400.1 kB / 469.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.6579, allocations: 166.2 kB / 469.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009941/0.659, allocations: 462.5 kB / 469.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.659, allocations: 33.69 kB / 469.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.6592, allocations: 163.5 kB / 470.1 MB, free: 9.941 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.6592, allocations: 23.72 kB / 470.1 MB, free: 9.918 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.6593, allocations: 8 kB / 470.1 MB, free: 9.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6594, allocations: 318.8 kB / 470.4 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.6596, allocations: 59.98 kB / 470.5 MB, free: 9.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.6598, allocations: 52.7 kB / 470.6 MB, free: 9.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.6601, allocations: 171.5 kB / 470.7 MB, free: 9.289 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.6601, allocations: 0 / 470.7 MB, free: 9.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008341/0.661, allocations: 365 kB / 471.1 MB, free: 8.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.6611, allocations: 122.8 kB / 471.2 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6611, allocations: 4 kB / 471.2 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.6612, allocations: 0 / 471.2 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.678e-05/0.6612, allocations: 4 kB / 471.2 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.6612, allocations: 0 / 471.2 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.6615, allocations: 15.98 kB / 471.2 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.6616, allocations: 59.89 kB / 471.3 MB, free: 8.676 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.y,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 () * 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.0002709/0.6619, allocations: 249.9 kB / 471.5 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.662, allocations: 39.53 kB / 471.6 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.6623, allocations: 67.42 kB / 471.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6623, allocations: 0 / 471.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6623, allocations: 7.984 kB / 471.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.6623, allocations: 0 / 471.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.6638, allocations: 0.79 MB / 472.4 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6639, allocations: 0 / 472.4 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.6639, allocations: 4 kB / 472.4 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6639, allocations: 0 / 472.4 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.664, allocations: 12 kB / 472.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.664, allocations: 12.06 kB / 472.5 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.664, allocations: 0 / 472.5 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.665, allocations: 0.525 MB / 473 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006143/0.6657, allocations: 244.5 kB / 473.2 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.6658, allocations: 15.98 kB / 473.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.6661, allocations: 8 kB / 473.2 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.6663, allocations: 23.97 kB / 473.3 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.6664, allocations: 67.91 kB / 473.3 MB, free: 6.449 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007991/0.6672, allocations: 380.9 kB / 473.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6672, allocations: 4 kB / 473.7 MB, free: 6.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00043/0.6677, allocations: 47.95 kB / 473.8 MB, free: 6.031 MB / 346.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) * 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.0002232/0.6679, allocations: 117.6 kB / 473.9 MB, free: 5.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007587/0.6687, allocations: 433.5 kB / 474.3 MB, free: 5.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6687, allocations: 0 / 474.3 MB, free: 5.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004909/0.6692, allocations: 373.6 kB / 474.7 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008493/0.67, allocations: 94.72 kB / 474.8 MB, free: 4.918 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.6717, allocations: 0.5756 MB / 475.3 MB, free: 4.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005941/0.6723, allocations: 0.8102 MB / 476.1 MB, free: 3.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.6724, allocations: 7.438 kB / 476.1 MB, free: 3.465 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6724, allocations: 0 / 476.1 MB, free: 3.465 MB / 346.7 MB Notification: Performance of Templates: time 0.007058/0.6795, allocations: 2.633 MB / 478.8 MB, free: 0.7695 MB / 346.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