Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008266/0.0008266, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009677/0.001794, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001073/0.001073, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.002162, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9096/0.9096, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1574/1.067, allocations: 49.48 MB / 220.5 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.309e-05, allocations: 10.25 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002363/0.002387, allocations: 1.554 MB / 223.4 MB, free: 14.59 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.003885, allocations: 0.8974 MB / 224.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.003954, allocations: 0 / 224.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.176e-05/0.004046, allocations: 15.86 kB / 224.3 MB, free: 13.67 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.004112, allocations: 23.86 kB / 224.3 MB, free: 13.64 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.004326, allocations: 51.81 kB / 224.4 MB, free: 13.59 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.00453, allocations: 135.7 kB / 224.5 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004631, allocations: 20.16 kB / 224.5 MB, free: 13.44 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004868/0.005118, allocations: 0.5537 MB / 225.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.005245, allocations: 59.83 kB / 225.1 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.005281, allocations: 8 kB / 225.2 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.005304, allocations: 8 kB / 225.2 MB, free: 12.81 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.005376, allocations: 67.72 kB / 225.2 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.00544, allocations: 43.81 kB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.005685, allocations: 275 kB / 225.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.005701, allocations: 0 / 225.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.005702, allocations: 0 / 225.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.005722, allocations: 0 / 225.5 MB, free: 12.43 MB / 234.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.0006545/0.006377, allocations: 0.6612 MB / 226.2 MB, free: 11.72 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.006418, allocations: 8.031 kB / 226.2 MB, free: 11.71 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.006488, allocations: 32.91 kB / 226.2 MB, free: 11.68 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.006706, allocations: 212.1 kB / 226.4 MB, free: 11.45 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.006727, allocations: 4.375 kB / 226.4 MB, free: 11.45 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.006747, allocations: 12.36 kB / 226.5 MB, free: 11.43 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.00708, allocations: 237.6 kB / 226.7 MB, free: 11.17 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.007089, allocations: 4.188 kB / 226.7 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.007104, allocations: 4.375 kB / 226.7 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.007111, allocations: 3.938 kB / 226.7 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.007223, allocations: 154.8 kB / 226.9 MB, free: 10.98 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.007589, allocations: 216.2 kB / 227.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.007759, allocations: 177.3 kB / 227.2 MB, free: 10.55 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.007865, allocations: 159.7 kB / 227.4 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.007873, allocations: 0 / 227.4 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.008111, allocations: 313.5 kB / 227.7 MB, free: 10.01 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 3.376e-06/0.008114, allocations: 3.938 kB / 227.7 MB, free: 10 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004397/0.008554, allocations: 0.5215 MB / 228.2 MB, free: 9.402 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.0086, allocations: 85.11 kB / 228.3 MB, free: 9.301 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.008903, allocations: 359.2 kB / 228.7 MB, free: 8.938 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.008924, allocations: 29.7 kB / 228.7 MB, free: 8.902 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.008965, allocations: 97.06 kB / 228.8 MB, free: 8.805 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.008995, allocations: 39.7 kB / 228.8 MB, free: 8.766 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.009065, allocations: 69.5 kB / 228.9 MB, free: 8.691 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.009155, allocations: 326.8 kB / 229.2 MB, free: 8.363 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.173e-05/0.009247, allocations: 150.8 kB / 229.4 MB, free: 8.191 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-05/0.009341, allocations: 172.6 kB / 229.5 MB, free: 7.992 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.00951, allocations: 325.1 kB / 229.8 MB, free: 7.621 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009513, allocations: 0 / 229.8 MB, free: 7.621 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002201/0.009733, allocations: 359.2 kB / 230.2 MB, free: 7.215 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/0.00981, allocations: 134.7 kB / 230.3 MB, free: 7.059 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.009817, allocations: 3.984 kB / 230.3 MB, free: 7.055 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.009829, allocations: 8.031 kB / 230.3 MB, free: 7.047 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.995e-05/0.009849, allocations: 0 / 230.3 MB, free: 7.047 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.009852, allocations: 0 / 230.3 MB, free: 7.047 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-05/0.009937, allocations: 11.98 kB / 230.4 MB, free: 7.035 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.009984, allocations: 55.88 kB / 230.4 MB, free: 6.98 MB / 234.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.0002499/0.01023, allocations: 349.3 kB / 230.7 MB, free: 6.602 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.01027, allocations: 35.91 kB / 230.8 MB, free: 6.566 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.422e-05/0.01035, allocations: 51.09 kB / 230.8 MB, free: 6.52 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.01035, allocations: 4 kB / 230.8 MB, free: 6.516 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.01035, allocations: 0 / 230.8 MB, free: 6.516 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01035, allocations: 4 kB / 230.8 MB, free: 6.512 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.01078, allocations: 0.6056 MB / 231.4 MB, free: 5.832 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01078, allocations: 0 / 231.4 MB, free: 5.832 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.475e-06/0.01079, allocations: 0 / 231.4 MB, free: 5.832 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.01097, allocations: 143.4 kB / 231.6 MB, free: 5.691 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.01097, allocations: 192 / 231.6 MB, free: 5.691 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.01099, allocations: 12 kB / 231.6 MB, free: 5.68 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01099, allocations: 0 / 231.6 MB, free: 5.68 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01099, allocations: 0 / 231.6 MB, free: 5.68 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.01129, allocations: 0.4917 MB / 232.1 MB, free: 5.125 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.01132, allocations: 8 kB / 232.1 MB, free: 5.117 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.01141, allocations: 15.98 kB / 232.1 MB, free: 5.102 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.01148, allocations: 27.91 kB / 232.1 MB, free: 5.074 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.01152, allocations: 59.92 kB / 232.2 MB, free: 5.016 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.01167, allocations: 148.6 kB / 232.3 MB, free: 4.867 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01167, allocations: 0 / 232.3 MB, free: 4.867 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.01184, allocations: 44 kB / 232.4 MB, free: 4.824 MB / 234.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.0001142/0.01195, allocations: 91.41 kB / 232.5 MB, free: 4.73 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.01229, allocations: 0.5742 MB / 233 MB, free: 4.055 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.0123, allocations: 8.062 kB / 233.1 MB, free: 4.047 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.0125, allocations: 412 kB / 233.5 MB, free: 3.566 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.01286, allocations: 148.6 kB / 233.6 MB, free: 3.426 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.01387, allocations: 0.7411 MB / 234.3 MB, free: 2.629 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.999e-05/0.01394, allocations: 95.27 kB / 234.4 MB, free: 2.516 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.92e-05/0.01398, allocations: 8.719 kB / 234.4 MB, free: 2.508 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.01423, allocations: 171.2 kB / 234.6 MB, free: 2.34 MB / 234.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01423, allocations: 4 kB / 234.6 MB, free: 2.336 MB / 234.7 MB Notification: Performance of Templates: time 0.006213/0.02045, allocations: 4.637 MB / 239.3 MB, free: 13.62 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6045176377519965]