Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.493/1.493, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008577/0.0008578, allocations: 82.66 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.103e-05, allocations: 8 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09674, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.4242, allocations: 81.26 MB / 451.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.4244, allocations: 70.2 kB / 451.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03143/0.4559, allocations: 16.53 MB / 467.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4559, allocations: 0 / 467.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.4559, allocations: 4 kB / 467.9 MB, free: 13.05 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.0006001/0.4565, allocations: 0.6097 MB / 468.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4566, allocations: 12.03 kB / 468.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.4567, allocations: 31.62 kB / 468.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.457, allocations: 261.4 kB / 468.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.457, allocations: 8 kB / 468.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.4571, allocations: 12 kB / 468.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.4573, allocations: 125.6 kB / 468.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.4573, allocations: 0 / 468.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.4573, allocations: 4 kB / 468.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4574, allocations: 4 kB / 468.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.4575, allocations: 55.92 kB / 469 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006274/0.4581, allocations: 468.4 kB / 469.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.4583, allocations: 106.5 kB / 469.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.4585, allocations: 76.91 kB / 469.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.4585, allocations: 4.109 kB / 469.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.4588, allocations: 206.6 kB / 469.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.4588, allocations: 0 / 469.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005905/0.4594, allocations: 408.1 kB / 470.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/0.4595, allocations: 162.2 kB / 470.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005551/0.4601, allocations: 466.4 kB / 470.9 MB, free: 9.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.4601, allocations: 33.7 kB / 470.9 MB, free: 9.766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.4602, allocations: 97.12 kB / 471 MB, free: 9.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.4602, allocations: 23.72 kB / 471 MB, free: 9.641 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.4602, allocations: 7.984 kB / 471 MB, free: 9.633 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4604, allocations: 322.8 kB / 471.3 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.4605, allocations: 55.98 kB / 471.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.4606, allocations: 61.25 kB / 471.4 MB, free: 9.195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.4608, allocations: 166.6 kB / 471.6 MB, free: 9.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4608, allocations: 0 / 471.6 MB, free: 9.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004844/0.4613, allocations: 380.8 kB / 472 MB, free: 8.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.377e-05/0.4614, allocations: 118.8 kB / 472.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4614, allocations: 0 / 472.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4614, allocations: 4 kB / 472.1 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.982e-05/0.4614, allocations: 0 / 472.1 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4614, allocations: 0 / 472.1 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.4615, allocations: 19.98 kB / 472.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.4616, allocations: 59.89 kB / 472.2 MB, free: 8.383 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,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.y,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: 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.0001743/0.4618, allocations: 249.9 kB / 472.4 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.4619, allocations: 39.53 kB / 472.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.938e-05/0.462, allocations: 63.44 kB / 472.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.462, allocations: 0 / 472.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.462, allocations: 0 / 472.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.462, allocations: 3.938 kB / 472.5 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009526/0.463, allocations: 0.7978 MB / 473.3 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.463, allocations: 4.125 kB / 473.3 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-06/0.463, allocations: 3.984 kB / 473.3 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.463, allocations: 4 kB / 473.3 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.463, allocations: 11.94 kB / 473.3 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.463, allocations: 0 / 473.3 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4631, allocations: 4 kB / 473.3 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.4636, allocations: 0.5174 MB / 473.9 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.464, allocations: 248.4 kB / 474.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.464, allocations: 12 kB / 474.1 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.4642, allocations: 11.98 kB / 474.1 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4643, allocations: 27.97 kB / 474.2 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.924e-05/0.4643, allocations: 59.92 kB / 474.2 MB, free: 6.164 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004463/0.4648, allocations: 380.9 kB / 474.6 MB, free: 5.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4648, allocations: 0 / 474.6 MB, free: 5.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.4651, allocations: 51.95 kB / 474.6 MB, free: 5.746 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,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) * 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.0001548/0.4652, allocations: 119 kB / 474.8 MB, free: 5.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.4657, allocations: 437.5 kB / 475.2 MB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4657, allocations: 0 / 475.2 MB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.466, allocations: 369.6 kB / 475.5 MB, free: 4.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.4665, allocations: 98.86 kB / 475.6 MB, free: 4.629 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008407/0.4674, allocations: 0.5232 MB / 476.2 MB, free: 4.082 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.4678, allocations: 0.8102 MB / 477 MB, free: 3.242 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.497e-05/0.4679, allocations: 20.56 kB / 477 MB, free: 3.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.4679, allocations: 11.44 kB / 477 MB, free: 3.207 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4679, allocations: 0 / 477 MB, free: 3.207 MB / 346.7 MB Notification: Performance of Templates: time 0.006847/0.4748, allocations: 4.073 MB / 481.1 MB, free: 15.05 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches