Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 221.3 MB / 235.5 MB, free: 2.902 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008028/0.0008031, allocations: 90.77 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.29e-05/2.293e-05, allocations: 0 / 343.8 MB, free: 4.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09405, allocations: 50.41 MB / 394.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3054/0.3995, allocations: 82.17 MB / 476.4 MB, free: 5.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.3997, allocations: 71.78 kB / 476.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03228/0.432, allocations: 16.74 MB / 493.2 MB, free: 4.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.432, allocations: 0 / 493.2 MB, free: 4.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.432, allocations: 4 kB / 493.2 MB, free: 4.582 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.0005685/0.4326, allocations: 0.6174 MB / 493.8 MB, free: 3.895 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4326, allocations: 8.031 kB / 493.9 MB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/0.4327, allocations: 35.62 kB / 493.9 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.433, allocations: 261.4 kB / 494.1 MB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.433, allocations: 4 kB / 494.2 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.4331, allocations: 15.94 kB / 494.2 MB, free: 3.539 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.4333, allocations: 129.6 kB / 494.3 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4333, allocations: 0 / 494.3 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.4334, allocations: 4 kB / 494.3 MB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4334, allocations: 4 kB / 494.3 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.4335, allocations: 59.92 kB / 494.4 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.4341, allocations: 464.5 kB / 494.8 MB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.4343, allocations: 94.5 kB / 494.9 MB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.4344, allocations: 80.91 kB / 495 MB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.4344, allocations: 4 kB / 495 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.4347, allocations: 202.7 kB / 495.2 MB, free: 2.426 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.4347, allocations: 0 / 495.2 MB, free: 2.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005673/0.4353, allocations: 399.9 kB / 495.6 MB, free: 2.004 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.4354, allocations: 170.1 kB / 495.7 MB, free: 1.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.4359, allocations: 462.5 kB / 496.2 MB, free: 1.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.4359, allocations: 29.7 kB / 496.2 MB, free: 1.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.436, allocations: 93.14 kB / 496.3 MB, free: 1.207 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.436, allocations: 27.7 kB / 496.3 MB, free: 1.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.4361, allocations: 4 kB / 496.3 MB, free: 1.176 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.4362, allocations: 326.8 kB / 496.7 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.4363, allocations: 55.98 kB / 496.7 MB, free: 0.793 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.4364, allocations: 59.98 kB / 496.8 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.4365, allocations: 164.2 kB / 496.9 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4365, allocations: 7.891 kB / 496.9 MB, free: 0.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004609/0.437, allocations: 376.9 kB / 497.3 MB, free: 148 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.465e-05/0.4371, allocations: 120.5 kB / 497.4 MB, free: 4 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4371, allocations: 3.984 kB / 497.4 MB, free: 0 / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.4371, allocations: 4.047 kB / 497.4 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.65e-05/0.4371, allocations: 4 kB / 497.4 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.4372, allocations: 0 / 497.4 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.4373, allocations: 12.05 kB / 497.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.4374, allocations: 71.81 kB / 497.5 MB, free: 15.91 MB / 378.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.0001462/0.4375, allocations: 234 kB / 497.8 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.4376, allocations: 39.48 kB / 497.8 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.762e-05/0.4377, allocations: 75.36 kB / 497.9 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4377, allocations: 64 / 497.9 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4377, allocations: 8 kB / 497.9 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4377, allocations: 0 / 497.9 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008279/0.4385, allocations: 0.8058 MB / 498.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4386, allocations: 0 / 498.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-06/0.4386, allocations: 4 kB / 498.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4386, allocations: 0 / 498.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.4386, allocations: 11.98 kB / 498.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4386, allocations: 4 kB / 498.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4386, allocations: 0 / 498.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.4392, allocations: 0.5096 MB / 499.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.4395, allocations: 252.4 kB / 499.5 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.4395, allocations: 12 kB / 499.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4397, allocations: 8 kB / 499.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4398, allocations: 27.97 kB / 499.5 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.4398, allocations: 63.91 kB / 499.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004627/0.4403, allocations: 384.9 kB / 499.9 MB, free: 13.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4403, allocations: 4 kB / 499.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003163/0.4406, allocations: 48 kB / 500 MB, free: 13.28 MB / 378.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.0001738/0.4408, allocations: 111 kB / 0.4884 GB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005037/0.4413, allocations: 433.5 kB / 0.4888 GB, free: 12.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4414, allocations: 0 / 0.4888 GB, free: 12.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.4417, allocations: 369.6 kB / 0.4891 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.4422, allocations: 98.58 kB / 0.4892 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009037/0.4431, allocations: 0.5348 MB / 0.4898 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.4436, allocations: 0.8104 MB / 0.4906 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.4436, allocations: 4.656 kB / 0.4906 GB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.4436, allocations: 11.44 kB / 0.4906 GB, free: 10.76 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4436, allocations: 0 / 0.4906 GB, free: 10.76 MB / 378.7 MB Notification: Performance of Templates: time 0.006334/0.45, allocations: 4.073 MB / 0.4945 GB, free: 6.613 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches