Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009892/0.0009893, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0008302/0.0008302, allocations: 92.62 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.234e-05/1.235e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08274/0.08277, allocations: 50.42 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2943/0.3771, allocations: 81.51 MB / 469 MB, free: 13.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.3774, allocations: 71.95 kB / 469 MB, free: 13.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03288/0.4103, allocations: 16.64 MB / 485.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4104, allocations: 0 / 485.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4104, allocations: 4 kB / 485.7 MB, free: 12.71 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.0005977/0.411, allocations: 0.6097 MB / 486.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4111, allocations: 12.03 kB / 486.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.541e-05/0.4111, allocations: 31.62 kB / 486.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.4114, allocations: 259.6 kB / 486.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.4115, allocations: 11.98 kB / 486.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.4115, allocations: 7.938 kB / 486.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001625/0.4117, allocations: 55.94 kB / 486.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.4119, allocations: 113.6 kB / 486.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.4119, allocations: 0 / 486.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.4119, allocations: 11.97 kB / 486.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.412, allocations: 0 / 486.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.4125, allocations: 441.1 kB / 487.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.4127, allocations: 94.52 kB / 487.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.4128, allocations: 72.91 kB / 487.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.4128, allocations: 0 / 487.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.4131, allocations: 206.6 kB / 487.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.4131, allocations: 0 / 487.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004922/0.4136, allocations: 273.2 kB / 487.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.4137, allocations: 166.2 kB / 488 MB, free: 10.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.4142, allocations: 444.9 kB / 488.4 MB, free: 9.703 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.4143, allocations: 29.7 kB / 488.5 MB, free: 9.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.4143, allocations: 101.4 kB / 488.6 MB, free: 9.562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.4144, allocations: 27.66 kB / 488.6 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.4144, allocations: 4 kB / 488.6 MB, free: 9.531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4145, allocations: 326.8 kB / 488.9 MB, free: 9.203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.015e-05/0.4146, allocations: 51.98 kB / 489 MB, free: 9.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-05/0.4147, allocations: 52.69 kB / 489 MB, free: 9.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.603e-05/0.4148, allocations: 48.39 kB / 489.1 MB, free: 9.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4148, allocations: 0 / 489.1 MB, free: 9.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003915/0.4152, allocations: 255.2 kB / 489.3 MB, free: 8.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.4153, allocations: 127.9 kB / 489.4 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.4154, allocations: 4 kB / 489.4 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4154, allocations: 0 / 489.4 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.115e-05/0.4154, allocations: 0 / 489.4 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4154, allocations: 4 kB / 489.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.4156, allocations: 12.11 kB / 489.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.47e-05/0.4157, allocations: 71.73 kB / 489.5 MB, free: 8.562 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.0002258/0.4159, allocations: 242 kB / 489.8 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.416, allocations: 43.48 kB / 489.8 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.4161, allocations: 67.42 kB / 489.9 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4161, allocations: 0 / 489.9 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4161, allocations: 0 / 489.9 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4161, allocations: 4 kB / 489.9 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.4169, allocations: 0.6318 MB / 490.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.417, allocations: 0 / 490.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-06/0.417, allocations: 3.953 kB / 490.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.417, allocations: 0 / 490.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.417, allocations: 16 kB / 490.5 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.417, allocations: 0 / 490.5 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.417, allocations: 3.938 kB / 490.5 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.4175, allocations: 391.1 kB / 490.9 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.4179, allocations: 252.4 kB / 491.2 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.4179, allocations: 7.953 kB / 491.2 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.4181, allocations: 8 kB / 491.2 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.4182, allocations: 27.97 kB / 491.2 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/0.4183, allocations: 68.03 kB / 491.3 MB, free: 6.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004149/0.4187, allocations: 370.7 kB / 491.6 MB, free: 6.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4187, allocations: 0 / 491.6 MB, free: 6.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.419, allocations: 48 kB / 491.7 MB, free: 6.297 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.0001722/0.4191, allocations: 109.9 kB / 491.8 MB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.4196, allocations: 425.5 kB / 492.2 MB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4197, allocations: 0 / 492.2 MB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.42, allocations: 365.6 kB / 492.6 MB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.4205, allocations: 85.94 kB / 492.6 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009315/0.4214, allocations: 0.5302 MB / 493.2 MB, free: 4.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.422, allocations: 0.8062 MB / 494 MB, free: 3.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.974e-05/0.422, allocations: 8.656 kB / 494 MB, free: 3.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.4221, allocations: 11.44 kB / 494 MB, free: 3.82 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4221, allocations: 0 / 494 MB, free: 3.82 MB / 362.7 MB Notification: Performance of Templates: time 0.006616/0.4287, allocations: 3.926 MB / 497.9 MB, free: 15.82 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches