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.0008871/0.0008871, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002088, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007725/0.0007725, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.001908, allocations: 483.5 kB / 11.83 MB, free: 2.336 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 1.04/1.04, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1474/1.187, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.663e-06/1.663e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.058e-05, allocations: 2.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003293/0.003324, allocations: 1.558 MB / 223.5 MB, free: 14.49 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.005347, allocations: 0.9091 MB / 224.5 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.005401, allocations: 0 / 224.5 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.003e-05/0.005481, allocations: 11.86 kB / 224.5 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.005547, allocations: 19.8 kB / 224.5 MB, free: 13.54 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.005746, allocations: 59.81 kB / 224.5 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.005967, allocations: 135.7 kB / 224.7 MB, free: 13.35 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.006052, allocations: 12.22 kB / 224.7 MB, free: 13.34 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006016/0.006653, allocations: 0.5498 MB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.006788, allocations: 59.81 kB / 225.3 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.006825, allocations: 12 kB / 225.3 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.288e-05/0.006858, allocations: 8 kB / 225.3 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.162e-05/0.00694, allocations: 67.72 kB / 225.4 MB, free: 12.64 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.007012, allocations: 47.8 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.007289, allocations: 267 kB / 225.7 MB, free: 12.33 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.007301, allocations: 4 kB / 225.7 MB, free: 12.33 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.007302, allocations: 0 / 225.7 MB, free: 12.33 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.007313, allocations: 0 / 225.7 MB, free: 12.33 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.0006992/0.008013, allocations: 0.6613 MB / 226.4 MB, free: 11.62 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.008045, allocations: 8.031 kB / 226.4 MB, free: 11.61 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.008109, allocations: 24.92 kB / 226.4 MB, free: 11.59 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.008289, allocations: 216.1 kB / 226.6 MB, free: 11.35 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.008308, allocations: 8.359 kB / 226.6 MB, free: 11.34 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.008328, allocations: 12.38 kB / 226.6 MB, free: 11.33 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.008572, allocations: 233.6 kB / 226.8 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.008579, allocations: 4.188 kB / 226.9 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.008592, allocations: 8.312 kB / 226.9 MB, free: 11.06 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.008599, allocations: 7.938 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.987e-05/0.008679, allocations: 154.8 kB / 227 MB, free: 10.88 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.008938, allocations: 220.2 kB / 227.2 MB, free: 10.64 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.009049, allocations: 169.4 kB / 227.4 MB, free: 10.45 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.009129, allocations: 155.7 kB / 227.6 MB, free: 10.27 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.009135, allocations: 4 kB / 227.6 MB, free: 10.26 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.009314, allocations: 309.4 kB / 227.9 MB, free: 9.91 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.009315, allocations: 4.109 kB / 227.9 MB, free: 9.906 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003385/0.009654, allocations: 0.5361 MB / 228.4 MB, free: 9.293 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.009713, allocations: 174.2 kB / 228.6 MB, free: 9.086 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.009985, allocations: 359.2 kB / 228.9 MB, free: 8.723 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.01001, allocations: 29.7 kB / 228.9 MB, free: 8.688 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.01006, allocations: 97.06 kB / 229 MB, free: 8.59 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.01009, allocations: 35.72 kB / 229.1 MB, free: 8.555 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.01016, allocations: 73.48 kB / 229.1 MB, free: 8.477 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.01026, allocations: 322.8 kB / 229.5 MB, free: 8.152 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-05/0.01036, allocations: 154.8 kB / 229.6 MB, free: 7.977 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.01046, allocations: 172.5 kB / 229.8 MB, free: 7.777 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.01064, allocations: 323.1 kB / 230.1 MB, free: 7.406 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01065, allocations: 0 / 230.1 MB, free: 7.406 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002428/0.01089, allocations: 367.2 kB / 230.5 MB, free: 6.992 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.445e-05/0.01096, allocations: 126.7 kB / 230.6 MB, free: 6.844 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01097, allocations: 4 kB / 230.6 MB, free: 6.84 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01098, allocations: 0 / 230.6 MB, free: 6.84 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.755e-05/0.011, allocations: 8.016 kB / 230.6 MB, free: 6.832 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.011, allocations: 0 / 230.6 MB, free: 6.832 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-05/0.0111, allocations: 8 kB / 230.6 MB, free: 6.824 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.01114, allocations: 51.94 kB / 230.7 MB, free: 6.773 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.0002347/0.01138, allocations: 349.2 kB / 231 MB, free: 6.398 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.01141, allocations: 35.91 kB / 231 MB, free: 6.363 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/0.01149, allocations: 51.09 kB / 231.1 MB, free: 6.316 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01149, allocations: 0 / 231.1 MB, free: 6.316 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.01149, allocations: 3.984 kB / 231.1 MB, free: 6.312 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01149, allocations: 0 / 231.1 MB, free: 6.312 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.01191, allocations: 0.6119 MB / 231.7 MB, free: 5.629 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01191, allocations: 0 / 231.7 MB, free: 5.629 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-06/0.01192, allocations: 3.984 kB / 231.7 MB, free: 5.625 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.01209, allocations: 139.6 kB / 231.8 MB, free: 5.488 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01209, allocations: 0 / 231.8 MB, free: 5.488 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.01211, allocations: 15.98 kB / 231.8 MB, free: 5.473 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01211, allocations: 0 / 231.8 MB, free: 5.473 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01211, allocations: 0 / 231.8 MB, free: 5.473 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.01238, allocations: 0.4932 MB / 232.3 MB, free: 4.914 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.01241, allocations: 12 kB / 232.4 MB, free: 4.902 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.01249, allocations: 15.94 kB / 232.4 MB, free: 4.887 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.01255, allocations: 19.97 kB / 232.4 MB, free: 4.867 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.01258, allocations: 59.86 kB / 232.4 MB, free: 4.809 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001534/0.01274, allocations: 160.6 kB / 232.6 MB, free: 4.648 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01274, allocations: 0 / 232.6 MB, free: 4.648 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.0129, allocations: 40 kB / 232.6 MB, free: 4.609 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.0001162/0.01301, allocations: 95.41 kB / 232.7 MB, free: 4.508 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.01334, allocations: 0.5664 MB / 233.3 MB, free: 3.84 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.01334, allocations: 8.094 kB / 233.3 MB, free: 3.832 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.01354, allocations: 416 kB / 233.7 MB, free: 3.348 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.01394, allocations: 361.2 kB / 234.1 MB, free: 2.953 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009033/0.01484, allocations: 0.7411 MB / 234.8 MB, free: 2.156 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.04e-05/0.01491, allocations: 95.27 kB / 234.9 MB, free: 2.043 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.367e-05/0.01494, allocations: 12.7 kB / 234.9 MB, free: 2.027 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.0152, allocations: 167.2 kB / 235.1 MB, free: 1.863 MB / 234.7 MB Notification: Performance of SimCode: time 8.61e-07/0.0152, allocations: 3.938 kB / 235.1 MB, free: 1.859 MB / 234.7 MB Notification: Performance of Templates: time 0.005706/0.02091, allocations: 4.644 MB / 239.7 MB, free: 13.13 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.740263476036489]