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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 138.6 kB / 24.97 MB, free: 9.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.062/1.062, allocations: 173.4 MB / 201.5 MB, free: 9.27 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 268.1 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.383e-05, allocations: 2.312 kB / 268.1 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003691/0.003725, allocations: 1.518 MB / 269.6 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.006022, allocations: 0.8302 MB / 270.4 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-05/0.006118, allocations: 0 / 270.4 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.00625, allocations: 11.86 kB / 270.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.846e-05/0.006349, allocations: 11.88 kB / 270.4 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.00673, allocations: 55.81 kB / 270.5 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.006967, allocations: 139.7 kB / 270.6 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.0071, allocations: 12.22 kB / 270.6 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007289/0.007829, allocations: 0.5965 MB / 271.2 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.007997, allocations: 71.8 kB / 271.3 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.00804, allocations: 8 kB / 271.3 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.906e-05/0.008069, allocations: 12 kB / 271.3 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.484e-05/0.008164, allocations: 59.78 kB / 271.4 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.008269, allocations: 55.73 kB / 271.4 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.008665, allocations: 287 kB / 271.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.008671, allocations: 0 / 271.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008672, allocations: 3.938 kB / 271.7 MB, free: 2.988 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.00868, allocations: 8 kB / 271.7 MB, free: 2.98 MB / 250.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.0009112/0.009591, allocations: 0.7746 MB / 272.5 MB, free: 2.145 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.009642, allocations: 12.92 kB / 272.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.009755, allocations: 44.7 kB / 272.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.01006, allocations: 222.8 kB / 272.8 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.0101, allocations: 4.375 kB / 272.8 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.01013, allocations: 12.38 kB / 272.8 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.01056, allocations: 248.7 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.01057, allocations: 192 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.0106, allocations: 4.375 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.01061, allocations: 7.938 kB / 273.1 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.01078, allocations: 170.7 kB / 273.2 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008256/0.01161, allocations: 0.4915 MB / 273.7 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.01185, allocations: 185.8 kB / 273.9 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.01203, allocations: 178.5 kB / 274.1 MB, free: 412 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.01204, allocations: 3.938 kB / 274.1 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.01236, allocations: 327 kB / 274.4 MB, free: 28 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.394e-06/0.01236, allocations: 0 / 274.4 MB, free: 28 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008992/0.01326, allocations: 0.6854 MB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.01336, allocations: 174.1 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009116/0.01427, allocations: 0.6232 MB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.01431, allocations: 29.7 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.374e-05/0.0144, allocations: 147.9 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.01445, allocations: 31.8 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.01456, allocations: 87.2 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.01472, allocations: 0.4923 MB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.01488, allocations: 162.8 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.01504, allocations: 193.5 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.01533, allocations: 336.9 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01533, allocations: 0 / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005528/0.01588, allocations: 0.4944 MB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.364e-05/0.01597, allocations: 126.8 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.01598, allocations: 0 / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.016, allocations: 0 / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.266e-05/0.01602, allocations: 0 / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.01603, allocations: 0 / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.01617, allocations: 20.03 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.01624, allocations: 55.98 kB / 278 MB, free: 12.04 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.000324/0.01656, allocations: 389.4 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.01663, allocations: 51.81 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.01674, allocations: 63 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01675, allocations: 3.938 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.01675, allocations: 0 / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01675, allocations: 4 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.01782, allocations: 0.9517 MB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.01782, allocations: 0 / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.01783, allocations: 4 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.01784, allocations: 0 / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.01786, allocations: 19.98 kB / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01786, allocations: 0 / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.01787, allocations: 0 / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.01847, allocations: 0.7081 MB / 280.2 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.0187, allocations: 185.4 kB / 280.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.01874, allocations: 12 kB / 280.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.01884, allocations: 8 kB / 280.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.01893, allocations: 23.97 kB / 280.4 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.01897, allocations: 67.92 kB / 280.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000336/0.01931, allocations: 430.7 kB / 280.9 MB, free: 8.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01931, allocations: 0 / 280.9 MB, free: 8.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.0195, allocations: 40 kB / 281 MB, free: 8.906 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.0001094/0.01961, allocations: 118.1 kB / 281.1 MB, free: 8.785 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.02, allocations: 0.5964 MB / 281.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02, allocations: 0 / 281.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.02021, allocations: 428 kB / 282.1 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.0206, allocations: 132.5 kB / 282.2 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007604/0.02136, allocations: 0.7369 MB / 283 MB, free: 6.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.178e-05/0.02144, allocations: 107.2 kB / 283.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.05e-05/0.02147, allocations: 4.734 kB / 283.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.02149, allocations: 12.5 kB / 283.1 MB, free: 6.539 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02149, allocations: 0 / 283.1 MB, free: 6.539 MB / 266.7 MB Notification: Performance of Templates: time 0.006242/0.02774, allocations: 5.03 MB / 288.1 MB, free: 1.484 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] 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","",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.9397192210890353]