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.000969/0.000969, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.000984/0.000984, allocations: 160.9 kB / 24.99 MB, free: 8.805 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 1.049/1.049, allocations: 177 MB / 205.2 MB, free: 5.617 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.422e-06/1.422e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.344e-05, allocations: 6.312 kB / 273 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001805/0.001828, allocations: 1.521 MB / 274.5 MB, free: 256 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.003256, allocations: 0.8652 MB / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.003317, allocations: 0 / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.634e-05/0.003414, allocations: 15.86 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.003492, allocations: 23.84 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.003723, allocations: 43.89 kB / 275.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.003886, allocations: 131.7 kB / 275.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.003977, allocations: 12.17 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004538/0.004431, allocations: 0.5966 MB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.004533, allocations: 59.83 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.004564, allocations: 12 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.164e-05/0.004586, allocations: 12 kB / 276.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.004657, allocations: 67.72 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.407e-05/0.004731, allocations: 63.7 kB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.004974, allocations: 286.9 kB / 276.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004976, allocations: 0 / 276.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004977, allocations: 3.938 kB / 276.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.004982, allocations: 0 / 276.7 MB, free: 14.06 MB / 266.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.000624/0.005606, allocations: 0.7747 MB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.005645, allocations: 11.98 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.005721, allocations: 52.7 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.005923, allocations: 218.9 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.005943, allocations: 8.375 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.005962, allocations: 8.375 kB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.006255, allocations: 249.7 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.006262, allocations: 192 / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.006279, allocations: 4.375 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.006289, allocations: 7.938 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.006399, allocations: 170.8 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.00692, allocations: 0.4954 MB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.007064, allocations: 189.8 kB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.007172, allocations: 174.5 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-06/0.00718, allocations: 3.938 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.007396, allocations: 331 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.007398, allocations: 0 / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005938/0.007992, allocations: 0.6816 MB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.008063, allocations: 174.1 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.008626, allocations: 0.6272 MB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.008646, allocations: 37.7 kB / 280.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.008705, allocations: 147.8 kB / 281 MB, free: 9.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.008733, allocations: 19.86 kB / 281 MB, free: 9.266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-05/0.008809, allocations: 91.16 kB / 281.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.008928, allocations: 0.4962 MB / 281.6 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.009031, allocations: 158.8 kB / 281.8 MB, free: 8.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.009165, allocations: 193 kB / 282 MB, free: 8.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.009383, allocations: 340.4 kB / 282.3 MB, free: 7.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009386, allocations: 0 / 282.3 MB, free: 7.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003642/0.00975, allocations: 499 kB / 282.8 MB, free: 7.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/0.009805, allocations: 133.6 kB / 282.9 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.009809, allocations: 0 / 282.9 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.009822, allocations: 0 / 282.9 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.745e-05/0.009839, allocations: 0 / 282.9 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.009844, allocations: 4 kB / 282.9 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.115e-05/0.009935, allocations: 8 kB / 282.9 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.009983, allocations: 59.92 kB / 283 MB, free: 7.109 MB / 266.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.0002263/0.01021, allocations: 393.2 kB / 283.4 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.01025, allocations: 59.72 kB / 283.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.132e-05/0.01033, allocations: 51.09 kB / 283.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01033, allocations: 7.938 kB / 283.5 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01033, allocations: 128 / 283.5 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01034, allocations: 4 kB / 283.5 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007015/0.01104, allocations: 0.9517 MB / 284.4 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01104, allocations: 0 / 284.4 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-06/0.01105, allocations: 0 / 284.4 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01105, allocations: 4 kB / 284.4 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.01107, allocations: 11.98 kB / 284.5 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01107, allocations: 4 kB / 284.5 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01107, allocations: 4 kB / 284.5 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.0115, allocations: 0.7081 MB / 285.2 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.01172, allocations: 185.4 kB / 285.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.01176, allocations: 12 kB / 285.4 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.01183, allocations: 12 kB / 285.4 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.01191, allocations: 23.97 kB / 285.4 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.01195, allocations: 59.98 kB / 285.5 MB, free: 4.441 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003418/0.01229, allocations: 426.7 kB / 285.9 MB, free: 4.027 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01229, allocations: 0 / 285.9 MB, free: 4.027 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001931/0.01249, allocations: 44 kB / 285.9 MB, free: 3.984 MB / 266.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 0.0001001/0.01259, allocations: 114.2 kB / 286 MB, free: 3.859 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003803/0.01297, allocations: 0.6003 MB / 286.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01297, allocations: 0 / 286.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.01317, allocations: 427.9 kB / 287 MB, free: 2.664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.01354, allocations: 129.8 kB / 287.2 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.01427, allocations: 0.7408 MB / 287.9 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.185e-05/0.01434, allocations: 103.2 kB / 288 MB, free: 1.625 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.177e-05/0.01437, allocations: 12.7 kB / 288 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.0144, allocations: 12.5 kB / 288 MB, free: 1.598 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.0144, allocations: 0 / 288 MB, free: 1.598 MB / 266.7 MB Notification: Performance of Templates: time 0.005604/0.02, allocations: 5.021 MB / 293.1 MB, free: 12.54 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.897368777077645]