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.001807/0.001807, allocations: 89.06 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002195/0.002195, allocations: 158.5 kB / 23.95 MB, free: 4.145 MB / 14.72 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.602/1.602, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.894e-06/1.894e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.028e-05, allocations: 2.281 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002751/0.002781, allocations: 1.474 MB / 326.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.004941, allocations: 0.8501 MB / 327.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.005015, allocations: 1 kB / 327.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.005146, allocations: 12.77 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.00525, allocations: 22.14 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.005611, allocations: 45.64 kB / 327.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.005912, allocations: 132.6 kB / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.006043, allocations: 20.95 kB / 327.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009479/0.006991, allocations: 0.5929 MB / 328.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.007154, allocations: 63.36 kB / 328.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.237e-05/0.007206, allocations: 9.094 kB / 328.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.121e-05/0.007247, allocations: 9.844 kB / 328.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.007372, allocations: 73.44 kB / 328.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.007499, allocations: 57.28 kB / 328.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.008026, allocations: 375.5 kB / 328.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.00803, allocations: 0 / 328.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.008031, allocations: 0 / 328.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.008038, allocations: 1.406 kB / 328.7 MB, free: 14.54 MB / 302.1 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.0009432/0.008982, allocations: 0.6555 MB / 329.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.009026, allocations: 17.8 kB / 329.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.897e-05/0.009115, allocations: 40.58 kB / 329.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.00944, allocations: 216.2 kB / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.009456, allocations: 4.719 kB / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.009492, allocations: 9.297 kB / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.009909, allocations: 249.9 kB / 329.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.009919, allocations: 192 / 329.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.009966, allocations: 12.31 kB / 329.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.009975, allocations: 5.406 kB / 329.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.01021, allocations: 177.8 kB / 330.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/0.01092, allocations: 393 kB / 330.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.01119, allocations: 193.5 kB / 330.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.01144, allocations: 181.8 kB / 330.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.01145, allocations: 5.062 kB / 330.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005386/0.01199, allocations: 323.7 kB / 331.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.01199, allocations: 1.156 kB / 331.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001187/0.01318, allocations: 0.7191 MB / 331.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.0133, allocations: 164.8 kB / 332.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008198/0.01412, allocations: 0.5118 MB / 332.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.01417, allocations: 37.81 kB / 332.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.01426, allocations: 93.45 kB / 332.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.01431, allocations: 34.28 kB / 332.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.01447, allocations: 81.66 kB / 332.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.01465, allocations: 322.3 kB / 333.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.01489, allocations: 180.4 kB / 333.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.01517, allocations: 194.7 kB / 333.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.01566, allocations: 352.6 kB / 333.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01567, allocations: 0 / 333.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008678/0.01654, allocations: 0.5142 MB / 334.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.01666, allocations: 125 kB / 334.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.01666, allocations: 1.062 kB / 334.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.01669, allocations: 1.375 kB / 334.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-05/0.01672, allocations: 1.438 kB / 334.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01672, allocations: 0 / 334.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.01691, allocations: 20.92 kB / 334.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/0.01701, allocations: 56.12 kB / 334.6 MB, free: 9.504 MB / 302.1 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.000493/0.0175, allocations: 360.5 kB / 334.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/0.01757, allocations: 47.69 kB / 335 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.01773, allocations: 72.23 kB / 335 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01774, allocations: 1.594 kB / 335 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01774, allocations: 3.938 kB / 335 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01775, allocations: 0 / 335 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.01906, allocations: 0.8626 MB / 335.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01906, allocations: 0 / 335.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-06/0.01907, allocations: 192 / 335.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.01908, allocations: 5.312 kB / 335.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.01912, allocations: 14.77 kB / 335.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.01912, allocations: 5.312 kB / 335.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01912, allocations: 0 / 335.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.02007, allocations: 0.6833 MB / 336.6 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/0.02059, allocations: 202.1 kB / 336.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.02067, allocations: 7.688 kB / 336.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.02084, allocations: 15.77 kB / 336.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.02101, allocations: 24.56 kB / 336.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.02111, allocations: 56.03 kB / 336.9 MB, free: 7.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007909/0.0219, allocations: 385.4 kB / 337.3 MB, free: 7.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0219, allocations: 1.125 kB / 337.3 MB, free: 7.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000373/0.02228, allocations: 40.88 kB / 337.3 MB, free: 7.438 MB / 302.1 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.0002608/0.02254, allocations: 116.9 kB / 337.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008794/0.02342, allocations: 0.6131 MB / 338 MB, free: 6.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02342, allocations: 0 / 338 MB, free: 6.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.02395, allocations: 423.4 kB / 338.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007498/0.0247, allocations: 121.2 kB / 338.6 MB, free: 6.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.02644, allocations: 0.7758 MB / 339.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.0268, allocations: 198.9 kB / 339.5 MB, free: 5.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.292e-05/0.02688, allocations: 8.719 kB / 339.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.02691, allocations: 12.5 kB / 339.6 MB, free: 5.48 MB / 302.1 MB Notification: Performance of SimCode: time 8.82e-07/0.02691, allocations: 0 / 339.6 MB, free: 5.48 MB / 302.1 MB Notification: Performance of Templates: time 0.01156/0.03847, allocations: 5.004 MB / 344.6 MB, free: 440 kB / 302.1 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.758412946015596]