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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008223/0.0008223, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003486/0.003486, allocations: 160 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8612/0.8612, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.092e-05, allocations: 7.766 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001664/0.001684, allocations: 1.486 MB / 327.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.002937, allocations: 0.8419 MB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.002981, allocations: 0 / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.797e-05/0.003069, allocations: 15.86 kB / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.003136, allocations: 15.86 kB / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.003369, allocations: 47.88 kB / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.003534, allocations: 127.7 kB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.003627, allocations: 28.16 kB / 328.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004176/0.004045, allocations: 0.5927 MB / 328.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.004146, allocations: 63.75 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.004175, allocations: 12 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.934e-05/0.004195, allocations: 8 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.879e-05/0.004263, allocations: 67.72 kB / 329.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.372e-05/0.004327, allocations: 55.78 kB / 329.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.004605, allocations: 386.6 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004608, allocations: 0 / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.004609, allocations: 0 / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.004614, allocations: 0 / 329.5 MB, free: 11.61 MB / 298.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.0005623/0.005177, allocations: 0.6514 MB / 330.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.005214, allocations: 11.98 kB / 330.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.005273, allocations: 40.7 kB / 330.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.005476, allocations: 220 kB / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.005494, allocations: 8.375 kB / 330.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.005512, allocations: 8.375 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.00578, allocations: 245 kB / 330.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.005789, allocations: 192 / 330.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.005806, allocations: 4.375 kB / 330.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.005812, allocations: 3.938 kB / 330.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.005936, allocations: 186.8 kB / 330.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.006379, allocations: 388.2 kB / 331.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.006538, allocations: 193.3 kB / 331.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.006655, allocations: 179.7 kB / 331.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.006665, allocations: 3.938 kB / 331.6 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.006935, allocations: 333.4 kB / 331.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.006936, allocations: 3.984 kB / 332 MB, free: 8.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005923/0.007529, allocations: 0.7049 MB / 332.7 MB, free: 8.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.007596, allocations: 170.2 kB / 332.8 MB, free: 7.898 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.00799, allocations: 0.5091 MB / 333.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.008013, allocations: 33.7 kB / 333.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.008065, allocations: 101.1 kB / 333.5 MB, free: 7.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.008093, allocations: 31.8 kB / 333.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.008164, allocations: 77.56 kB / 333.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.137e-05/0.008245, allocations: 326.8 kB / 333.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.008361, allocations: 178.8 kB / 334.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.008491, allocations: 196.5 kB / 334.3 MB, free: 6.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.008712, allocations: 362.6 kB / 334.6 MB, free: 5.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008714, allocations: 0 / 334.6 MB, free: 5.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003626/0.009077, allocations: 0.5069 MB / 335.1 MB, free: 5.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.371e-05/0.00914, allocations: 130.8 kB / 335.2 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.009144, allocations: 0 / 335.2 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.009156, allocations: 0 / 335.2 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.941e-05/0.009176, allocations: 3.938 kB / 335.2 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.009181, allocations: 4 kB / 335.3 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.401e-05/0.009265, allocations: 15.92 kB / 335.3 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.009311, allocations: 59.94 kB / 335.3 MB, free: 5.176 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002335/0.009544, allocations: 362.5 kB / 335.7 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.009577, allocations: 43.73 kB / 335.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.403e-05/0.009651, allocations: 75.06 kB / 335.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.009653, allocations: 0 / 335.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.009657, allocations: 0 / 335.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.00966, allocations: 0 / 335.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.01028, allocations: 0.8588 MB / 336.7 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01028, allocations: 192 / 336.7 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-06/0.01029, allocations: 4 kB / 336.7 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01029, allocations: 0 / 336.7 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.01031, allocations: 19.98 kB / 336.7 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01031, allocations: 0 / 336.7 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01031, allocations: 7.938 kB / 336.7 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.01073, allocations: 0.6609 MB / 337.3 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.01095, allocations: 209.4 kB / 337.6 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.01099, allocations: 8 kB / 337.6 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.01106, allocations: 11.98 kB / 337.6 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.01114, allocations: 27.97 kB / 337.6 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.01118, allocations: 56 kB / 337.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002799/0.01146, allocations: 382.9 kB / 338 MB, free: 2.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01146, allocations: 0 / 338 MB, free: 2.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.01164, allocations: 51.94 kB / 338.1 MB, free: 2.234 MB / 298.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.697e-05/0.01173, allocations: 114.2 kB / 338.2 MB, free: 2.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004024/0.01213, allocations: 0.6085 MB / 338.8 MB, free: 1.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01214, allocations: 4 kB / 338.8 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.01234, allocations: 428.3 kB / 339.2 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.01269, allocations: 120.1 kB / 339.3 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.01345, allocations: 0.8208 MB / 340.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.01359, allocations: 197.8 kB / 340.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.01361, allocations: 12.5 kB / 340.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01362, allocations: 0 / 340.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of Templates: time 0.002921/0.01654, allocations: 2.672 MB / 343 MB, free: 12.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.539493340067565]