Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") [: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 trunk/package.mo): time 0.001634/0.001634, allocations: 194.9 kB / 8.539 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009338/0.0009339, allocations: 90.38 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.172e-06, allocations: 0 / 343.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.092, allocations: 51.48 MB / 394.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/0.3249, allocations: 82.25 MB / 476.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.3252, allocations: 69.09 kB / 476.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02762/0.3528, allocations: 16.22 MB / 493.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3529, allocations: 4 kB / 493.2 MB, free: 13.89 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.0005958/0.3535, allocations: 0.6146 MB / 493.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.3535, allocations: 8.031 kB / 493.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.755e-05/0.3536, allocations: 35.53 kB / 493.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.354, allocations: 264.3 kB / 494.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.3541, allocations: 4 kB / 494.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.3541, allocations: 11.94 kB / 494.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001506/0.3543, allocations: 50.42 kB / 494.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3545, allocations: 119.9 kB / 494.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3545, allocations: 0 / 494.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.3545, allocations: 4 kB / 494.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3545, allocations: 0 / 494.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007212/0.3553, allocations: 457.4 kB / 494.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3554, allocations: 95.38 kB / 494.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3555, allocations: 73.09 kB / 494.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.3555, allocations: 4 kB / 494.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.3558, allocations: 183.1 kB / 495.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.3558, allocations: 0 / 495.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003963/0.3562, allocations: 197.5 kB / 495.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/0.3563, allocations: 165.8 kB / 495.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.3568, allocations: 448.1 kB / 495.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.3568, allocations: 29.7 kB / 495.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.3569, allocations: 92.72 kB / 496 MB, free: 11.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.3569, allocations: 34.06 kB / 496 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.3569, allocations: 4 kB / 496 MB, free: 11.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.357, allocations: 317.9 kB / 496.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.069e-05/0.3571, allocations: 51.05 kB / 496.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.592e-05/0.3572, allocations: 54.8 kB / 496.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.409e-05/0.3573, allocations: 59.06 kB / 496.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3573, allocations: 0 / 496.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002699/0.3576, allocations: 176.7 kB / 496.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3576, allocations: 4.109 kB / 496.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3576, allocations: 3.938 kB / 496.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3577, allocations: 3.984 kB / 496.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.212e-05/0.3577, allocations: 0 / 496.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3577, allocations: 0 / 496.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3579, allocations: 12 kB / 496.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.3579, allocations: 63.86 kB / 496.7 MB, free: 10.51 MB / 362.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.00017/0.3581, allocations: 233.3 kB / 497 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.3582, allocations: 39.53 kB / 497 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.3583, allocations: 62.62 kB / 497.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3583, allocations: 7.922 kB / 497.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3583, allocations: 0 / 497.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3583, allocations: 3.906 kB / 497.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006074/0.3589, allocations: 0.5632 MB / 497.6 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.359, allocations: 4 kB / 497.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-06/0.359, allocations: 0 / 497.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.359, allocations: 3.984 kB / 497.6 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.359, allocations: 15.98 kB / 497.7 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.359, allocations: 0 / 497.7 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.359, allocations: 4.031 kB / 497.7 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003439/0.3594, allocations: 322.2 kB / 498 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.3597, allocations: 243.5 kB / 498.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.3598, allocations: 15.38 kB / 498.2 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3599, allocations: 11.98 kB / 498.2 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3601, allocations: 26.27 kB / 498.3 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.3601, allocations: 63.91 kB / 498.3 MB, free: 8.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003907/0.3605, allocations: 371.8 kB / 498.7 MB, free: 8.688 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.3608, allocations: 38.62 kB / 498.7 MB, free: 8.652 MB / 362.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.0001358/0.361, allocations: 113.7 kB / 498.8 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.3613, allocations: 257.3 kB / 499.1 MB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3613, allocations: 0 / 499.1 MB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.3615, allocations: 265.3 kB / 499.4 MB, free: 8.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.362, allocations: 85.16 kB / 499.4 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/0.363, allocations: 0.5205 MB / 500 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/0.3634, allocations: 0.8263 MB / 0.489 GB, free: 6.707 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3634, allocations: 0 / 0.489 GB, free: 6.707 MB / 362.7 MB Notification: Performance of Templates: time 0.006365/0.3698, allocations: 3.863 MB / 0.4928 GB, free: 2.801 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches