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.000909/0.000909, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009124/0.0009124, allocations: 94.36 kB / 262.5 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.624e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08537/0.0854, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3246/0.4101, allocations: 80.85 MB / 443.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4103, allocations: 65.16 kB / 444 MB, free: 14.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03157/0.4419, allocations: 16.42 MB / 460.4 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4419, allocations: 3.938 kB / 460.4 MB, free: 1.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.442, allocations: 4 kB / 460.4 MB, free: 1.426 MB / 330.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.0005571/0.4425, allocations: 0.6141 MB / 461 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4426, allocations: 8.031 kB / 461 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.4426, allocations: 35.62 kB / 461.1 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.4429, allocations: 250.5 kB / 461.3 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.443, allocations: 4 kB / 461.3 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.443, allocations: 11.44 kB / 461.3 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001322/0.4431, allocations: 49.8 kB / 461.4 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.4433, allocations: 126.8 kB / 461.5 MB, free: 284 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.4434, allocations: 0 / 461.5 MB, free: 284 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.4434, allocations: 7.5 kB / 461.5 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.4434, allocations: 0 / 461.5 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.444, allocations: 436.3 kB / 461.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.4441, allocations: 97.06 kB / 462 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.4442, allocations: 73.22 kB / 462.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.4443, allocations: 112 / 462.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.4445, allocations: 199.8 kB / 462.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.4445, allocations: 0 / 462.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004857/0.445, allocations: 271.5 kB / 462.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/0.4451, allocations: 173.3 kB / 462.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.4456, allocations: 447.5 kB / 463.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.4456, allocations: 29.7 kB / 463.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.4457, allocations: 104.2 kB / 463.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4457, allocations: 22.66 kB / 463.3 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.4457, allocations: 4 kB / 463.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4459, allocations: 325.6 kB / 463.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.4459, allocations: 53.05 kB / 463.7 MB, free: 14.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.446, allocations: 54.11 kB / 463.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.178e-05/0.4461, allocations: 54.02 kB / 463.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4461, allocations: 0 / 463.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003649/0.4465, allocations: 249.4 kB / 464 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.63e-05/0.4466, allocations: 118.6 kB / 464.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4466, allocations: 7.984 kB / 464.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4466, allocations: 0 / 464.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.887e-05/0.4466, allocations: 0 / 464.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.4466, allocations: 0 / 464.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.4468, allocations: 12 kB / 464.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.4468, allocations: 66.8 kB / 464.2 MB, free: 13.74 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.0001643/0.447, allocations: 244.7 kB / 464.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.4471, allocations: 39.53 kB / 464.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.4472, allocations: 74.28 kB / 464.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.4472, allocations: 3.938 kB / 464.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4472, allocations: 0 / 464.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4472, allocations: 0 / 464.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007022/0.4479, allocations: 0.6381 MB / 465.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4479, allocations: 4 kB / 465.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-06/0.4479, allocations: 0 / 465.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4479, allocations: 0 / 465.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.448, allocations: 15.94 kB / 465.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.448, allocations: 0 / 465.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.448, allocations: 0 / 465.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.4484, allocations: 388.5 kB / 465.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.4488, allocations: 247.3 kB / 465.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.4488, allocations: 19.8 kB / 465.9 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.449, allocations: 8 kB / 465.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.4491, allocations: 38.81 kB / 465.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.4492, allocations: 59.92 kB / 466 MB, free: 12.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003762/0.4495, allocations: 366.2 kB / 466.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4495, allocations: 0 / 466.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.4498, allocations: 43.81 kB / 466.4 MB, free: 11.75 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.0001387/0.45, allocations: 115.1 kB / 466.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.4504, allocations: 423.3 kB / 466.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4504, allocations: 0 / 466.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.4506, allocations: 369.2 kB / 467.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.4511, allocations: 101 kB / 467.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.4519, allocations: 0.5106 MB / 467.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.4523, allocations: 0.8089 MB / 468.7 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.87e-05/0.4524, allocations: 12.64 kB / 468.7 MB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.4524, allocations: 11.44 kB / 468.7 MB, free: 9.516 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4524, allocations: 0 / 468.7 MB, free: 9.516 MB / 346.7 MB Notification: Performance of Templates: time 0.006258/0.4587, allocations: 3.921 MB / 472.6 MB, free: 5.516 MB / 346.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