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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 182.8 kB / 8.479 MB, free: 1.77 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.2 MB / 214.1 MB, free: 5.453 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.0009448/0.0009447, allocations: 102.2 kB / 262.1 MB, free: 5.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.474e-06, allocations: 4 kB / 315 MB, free: 41.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07697/0.07699, allocations: 47.58 MB / 362.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2529/0.3299, allocations: 80.52 MB / 443.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001708/0.3301, allocations: 67.11 kB / 443.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02823/0.3584, allocations: 15.93 MB / 459.1 MB, free: 6.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.3584, allocations: 3.906 kB / 459.1 MB, free: 6.57 MB / 314.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.00053/0.359, allocations: 0.6121 MB / 459.7 MB, free: 5.973 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.359, allocations: 11.81 kB / 459.7 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3591, allocations: 42.56 kB / 459.7 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.3595, allocations: 257 kB / 460 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.3595, allocations: 3.75 kB / 460 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.3595, allocations: 11.06 kB / 460 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001394/0.3597, allocations: 50.2 kB / 460.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.3599, allocations: 119.7 kB / 460.2 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3599, allocations: 3.938 kB / 460.2 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.3599, allocations: 3.906 kB / 460.2 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3599, allocations: 0 / 460.2 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006814/0.3606, allocations: 452.8 kB / 460.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.3608, allocations: 93.05 kB / 460.7 MB, free: 5.297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3609, allocations: 76.69 kB / 460.8 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.3609, allocations: 3.938 kB / 460.8 MB, free: 5.281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.3611, allocations: 189.5 kB / 461 MB, free: 5.141 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.294e-06/0.3611, allocations: 3.938 kB / 461 MB, free: 5.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004436/0.3616, allocations: 196.2 kB / 461.2 MB, free: 5.066 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3617, allocations: 170.5 kB / 461.3 MB, free: 4.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000697/0.3624, allocations: 441.8 kB / 461.8 MB, free: 4.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.3624, allocations: 29.55 kB / 461.8 MB, free: 4.629 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.3625, allocations: 95.34 kB / 461.9 MB, free: 4.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.3625, allocations: 30.22 kB / 461.9 MB, free: 4.516 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.3626, allocations: 2.906 kB / 461.9 MB, free: 4.516 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.3627, allocations: 325.1 kB / 462.2 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.3628, allocations: 51.8 kB / 462.3 MB, free: 4.195 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.363, allocations: 56.88 kB / 462.3 MB, free: 4.191 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.3631, allocations: 42.53 kB / 462.4 MB, free: 4.188 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3631, allocations: 4.484 kB / 462.4 MB, free: 4.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003378/0.3635, allocations: 174.8 kB / 462.6 MB, free: 4.133 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3635, allocations: 8.031 kB / 462.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3635, allocations: 1.375 kB / 462.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3635, allocations: 4 kB / 462.6 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.049e-05/0.3636, allocations: 5.312 kB / 462.6 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.3636, allocations: 0 / 462.6 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.3637, allocations: 12.23 kB / 462.6 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/0.3638, allocations: 54.81 kB / 462.6 MB, free: 4.109 MB / 314.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.0001472/0.364, allocations: 248.1 kB / 462.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.364, allocations: 38.91 kB / 462.9 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.3642, allocations: 69.61 kB / 463 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3642, allocations: 1 kB / 463 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3642, allocations: 1.062 kB / 463 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3642, allocations: 0 / 463 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/0.3648, allocations: 0.564 MB / 463.6 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3649, allocations: 0 / 463.6 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-06/0.3649, allocations: 3.938 kB / 463.6 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3649, allocations: 1.812 kB / 463.6 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.3649, allocations: 10.94 kB / 463.6 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3649, allocations: 11.92 kB / 463.6 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3649, allocations: 3.906 kB / 463.6 MB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003588/0.3653, allocations: 303.9 kB / 463.9 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.3657, allocations: 260.9 kB / 464.1 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.312e-05/0.3658, allocations: 13.58 kB / 464.2 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.3659, allocations: 9.906 kB / 464.2 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.366, allocations: 34.7 kB / 464.2 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.972e-05/0.3661, allocations: 63.33 kB / 464.3 MB, free: 3.035 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003975/0.3665, allocations: 365 kB / 464.6 MB, free: 2.863 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.3669, allocations: 35.75 kB / 464.7 MB, free: 2.863 MB / 314.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.000153/0.367, allocations: 123.3 kB / 464.8 MB, free: 2.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.3674, allocations: 254.3 kB / 465 MB, free: 2.629 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3674, allocations: 0 / 465 MB, free: 2.629 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.3676, allocations: 262.2 kB / 465.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.3682, allocations: 94.56 kB / 465.4 MB, free: 2.465 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009659/0.3691, allocations: 0.5152 MB / 465.9 MB, free: 2.215 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.3695, allocations: 0.8203 MB / 466.7 MB, free: 1.445 MB / 314.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3695, allocations: 0 / 466.7 MB, free: 1.445 MB / 314.7 MB Notification: Performance of Templates: time 0.007406/0.3769, allocations: 3.885 MB / 470.6 MB, free: 15.41 MB / 330.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