Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009696/0.0009696, allocations: 81.97 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 161 kB / 25.61 MB, free: 8.492 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9589/0.9589, allocations: 177.2 MB / 206.1 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.915e-05, allocations: 5.266 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001795/0.001814, allocations: 1.515 MB / 275.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.003163, allocations: 0.8547 MB / 276.6 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.003218, allocations: 4.938 kB / 276.6 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.626e-05/0.003304, allocations: 7.922 kB / 276.6 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.312e-05/0.003377, allocations: 25.78 kB / 276.6 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.003594, allocations: 43.89 kB / 276.6 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.003744, allocations: 139.7 kB / 276.8 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.036e-05/0.003824, allocations: 16.16 kB / 276.8 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.004282, allocations: 0.5933 MB / 277.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.00439, allocations: 71.73 kB / 277.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.004419, allocations: 8.594 kB / 277.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.236e-05/0.004441, allocations: 13.88 kB / 277.5 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.004502, allocations: 59.78 kB / 277.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.004568, allocations: 63.66 kB / 277.6 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.00479, allocations: 279 kB / 277.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004792, allocations: 0 / 277.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004792, allocations: 0 / 277.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.004796, allocations: 4 kB / 277.9 MB, free: 0.7109 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.0005752/0.005372, allocations: 0.7901 MB / 278.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.005403, allocations: 12.03 kB / 278.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.005463, allocations: 44.7 kB / 278.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.005642, allocations: 219 kB / 278.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.00566, allocations: 4.375 kB / 278.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.005678, allocations: 8.375 kB / 278.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.005927, allocations: 241.5 kB / 279.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.005935, allocations: 192 / 279.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.005949, allocations: 4.375 kB / 279.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005955, allocations: 11.94 kB / 279.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/0.006042, allocations: 154.8 kB / 279.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.006449, allocations: 404 kB / 279.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.006578, allocations: 185.8 kB / 279.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.006665, allocations: 158.5 kB / 280.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.006671, allocations: 4 kB / 280.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.006868, allocations: 319 kB / 280.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.00687, allocations: 4 kB / 280.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005287/0.007399, allocations: 0.6614 MB / 281.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.00746, allocations: 162.2 kB / 281.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.0079, allocations: 0.5061 MB / 281.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.007923, allocations: 29.7 kB / 281.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.007985, allocations: 147.8 kB / 281.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.008015, allocations: 35.72 kB / 281.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.008092, allocations: 83.2 kB / 282 MB, free: 12.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.008214, allocations: 0.4962 MB / 282.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.008306, allocations: 154.8 kB / 282.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.576e-05/0.008402, allocations: 182.1 kB / 282.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.008573, allocations: 324.9 kB / 283.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.008576, allocations: 4 kB / 283.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003529/0.008929, allocations: 475.1 kB / 283.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/0.008989, allocations: 126.8 kB / 283.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.008993, allocations: 0 / 283.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.009001, allocations: 0 / 283.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.429e-05/0.009016, allocations: 4 kB / 283.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.009018, allocations: 8.078 kB / 283.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-05/0.009103, allocations: 19.92 kB / 283.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.009148, allocations: 55.94 kB / 283.8 MB, free: 10.1 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.000243/0.009392, allocations: 385.4 kB / 284.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.009439, allocations: 55.7 kB / 284.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.683e-05/0.009516, allocations: 51.09 kB / 284.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009519, allocations: 4 kB / 284.3 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.009521, allocations: 0 / 284.3 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.009524, allocations: 0 / 284.3 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.01017, allocations: 0.8508 MB / 285.2 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01017, allocations: 4 kB / 285.2 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-06/0.01018, allocations: 7.922 kB / 285.2 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.01018, allocations: 0 / 285.2 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.0102, allocations: 16 kB / 285.2 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.0102, allocations: 0 / 285.2 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.0102, allocations: 0 / 285.2 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.01063, allocations: 0.6845 MB / 285.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.01086, allocations: 189.3 kB / 286.1 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.0109, allocations: 12 kB / 286.1 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.01097, allocations: 8 kB / 286.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.01104, allocations: 27.97 kB / 286.1 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.01108, allocations: 52 kB / 286.2 MB, free: 7.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002238/0.01131, allocations: 302.9 kB / 286.5 MB, free: 7.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01131, allocations: 0 / 286.5 MB, free: 7.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001949/0.0115, allocations: 40 kB / 286.5 MB, free: 7.258 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.0001097/0.01161, allocations: 114.2 kB / 286.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.01196, allocations: 0.5691 MB / 287.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01196, allocations: 0 / 287.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.01216, allocations: 424.3 kB / 287.6 MB, free: 5.969 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.01253, allocations: 129.6 kB / 287.7 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007709/0.01331, allocations: 0.7369 MB / 288.5 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.459e-05/0.01338, allocations: 99.12 kB / 288.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.14e-05/0.01342, allocations: 16.64 kB / 288.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.01369, allocations: 190.1 kB / 288.8 MB, free: 4.738 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01369, allocations: 0 / 288.8 MB, free: 4.738 MB / 266.7 MB Notification: Performance of Templates: time 0.006228/0.01992, allocations: 4.81 MB / 293.6 MB, free: 15.92 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.7296322067268193]