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.001403/0.001403, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001482/0.001482, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.497/1.497, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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 2.155e-06/2.155e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.346e-05, allocations: 6.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003004/0.003037, allocations: 1.488 MB / 273.7 MB, free: 312 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.005327, allocations: 0.8341 MB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.005396, allocations: 4 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.005509, allocations: 11.86 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.416e-05/0.005603, allocations: 23.8 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.005897, allocations: 47.88 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.006145, allocations: 131.7 kB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.006245, allocations: 16.22 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008418/0.007087, allocations: 0.5966 MB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.007275, allocations: 63.77 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.007325, allocations: 12 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.161e-05/0.007367, allocations: 8 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.007483, allocations: 79.69 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.00759, allocations: 47.8 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006357/0.008226, allocations: 370.8 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.008231, allocations: 4 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.807e-06/0.008235, allocations: 3.984 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.008249, allocations: 3.938 kB / 275.9 MB, free: 14.05 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.0009862/0.009235, allocations: 0.6435 MB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.009285, allocations: 15.98 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.009422, allocations: 60.62 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.009767, allocations: 216.1 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.009795, allocations: 4.375 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.009825, allocations: 8.375 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.01028, allocations: 248.8 kB / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.01029, allocations: 192 / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.01032, allocations: 8.375 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.01032, allocations: 3.938 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.01058, allocations: 178.7 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007444/0.01133, allocations: 388.2 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.01162, allocations: 201.3 kB / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.01189, allocations: 179.7 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.0119, allocations: 3.938 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005116/0.01242, allocations: 329.5 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.01242, allocations: 0 / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001185/0.0136, allocations: 0.7166 MB / 279.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.01373, allocations: 166.2 kB / 279.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007791/0.01451, allocations: 0.5169 MB / 279.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.01454, allocations: 29.7 kB / 279.8 MB, free: 9.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.01463, allocations: 101.2 kB / 279.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.01468, allocations: 35.73 kB / 279.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.01483, allocations: 85.55 kB / 280 MB, free: 9.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.01501, allocations: 322.8 kB / 280.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.01525, allocations: 174.8 kB / 280.5 MB, free: 9.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.0155, allocations: 196.4 kB / 280.7 MB, free: 8.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.01595, allocations: 351.3 kB / 281 MB, free: 8.402 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01595, allocations: 0 / 281 MB, free: 8.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000766/0.01672, allocations: 0.5146 MB / 281.6 MB, free: 7.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.01685, allocations: 130.8 kB / 281.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.01686, allocations: 4.031 kB / 281.7 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.01688, allocations: 0 / 281.7 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.279e-05/0.0169, allocations: 4 kB / 281.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.0169, allocations: 0 / 281.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.01705, allocations: 11.98 kB / 281.7 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/0.01713, allocations: 55.94 kB / 281.8 MB, free: 7.605 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.00043/0.01756, allocations: 366.5 kB / 282.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.01765, allocations: 55.7 kB / 282.2 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.01777, allocations: 63.08 kB / 282.2 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.01778, allocations: 7.984 kB / 282.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01778, allocations: 0 / 282.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.01779, allocations: 0 / 282.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.01913, allocations: 0.8702 MB / 283.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01913, allocations: 0 / 283.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-06/0.01914, allocations: 0 / 283.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01915, allocations: 4 kB / 283.1 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.01918, allocations: 15.98 kB / 283.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01918, allocations: 4.125 kB / 283.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.01918, allocations: 8 kB / 283.1 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.02011, allocations: 0.6686 MB / 283.8 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.02051, allocations: 205.4 kB / 284 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.02057, allocations: 15.94 kB / 284 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.02073, allocations: 11.98 kB / 284 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.02086, allocations: 19.98 kB / 284.1 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-05/0.02095, allocations: 63.92 kB / 284.1 MB, free: 5.066 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005568/0.0215, allocations: 386.9 kB / 284.5 MB, free: 4.688 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0215, allocations: 0 / 284.5 MB, free: 4.688 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003301/0.02183, allocations: 40 kB / 284.5 MB, free: 4.648 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.0001762/0.02201, allocations: 114.2 kB / 284.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008033/0.02281, allocations: 0.6202 MB / 285.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.02282, allocations: 0 / 285.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004563/0.02327, allocations: 424.4 kB / 285.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.02395, allocations: 134.5 kB / 285.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.02535, allocations: 0.7977 MB / 286.6 MB, free: 2.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.02565, allocations: 189.7 kB / 286.8 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.023e-05/0.02571, allocations: 16.77 kB / 286.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.02575, allocations: 16.5 kB / 286.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02575, allocations: 0 / 286.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of Templates: time 0.01042/0.03616, allocations: 4.997 MB / 291.8 MB, free: 13.07 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=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.3597301909467205]