Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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.001231/0.001231, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001864/0.003094, 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.001094/0.001094, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001451/0.002545, 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 0.9694/0.9694, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1796/1.149, allocations: 49.49 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.816e-05, allocations: 9.406 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001797/0.001815, allocations: 1.554 MB / 223.5 MB, free: 14.49 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.003217, allocations: 0.9091 MB / 224.5 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.003283, allocations: 4 kB / 224.5 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.684e-05/0.00337, allocations: 7.875 kB / 224.5 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.303e-05/0.003433, allocations: 23.8 kB / 224.5 MB, free: 13.54 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.003653, allocations: 55.81 kB / 224.5 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.003862, allocations: 135.7 kB / 224.7 MB, free: 13.35 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.258e-05/0.003944, allocations: 16.22 kB / 224.7 MB, free: 13.33 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00057/0.004514, allocations: 0.542 MB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.00465, allocations: 71.73 kB / 225.3 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.004686, allocations: 8 kB / 225.3 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.043e-05/0.004717, allocations: 12 kB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.599e-05/0.004793, allocations: 67.72 kB / 225.4 MB, free: 12.63 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.004861, allocations: 43.81 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.005123, allocations: 263 kB / 225.7 MB, free: 12.33 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.005135, allocations: 4 kB / 225.7 MB, free: 12.32 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005136, allocations: 0 / 225.7 MB, free: 12.32 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.005147, allocations: 0 / 225.7 MB, free: 12.32 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.0006584/0.005805, allocations: 0.6613 MB / 226.4 MB, free: 11.61 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.005837, allocations: 8.031 kB / 226.4 MB, free: 11.61 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.005907, allocations: 28.91 kB / 226.4 MB, free: 11.58 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.006119, allocations: 216 kB / 226.6 MB, free: 11.34 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.006139, allocations: 12.36 kB / 226.6 MB, free: 11.33 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.006162, allocations: 4.375 kB / 226.6 MB, free: 11.33 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.006471, allocations: 233.7 kB / 226.8 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.006479, allocations: 4.188 kB / 226.9 MB, free: 11.06 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.006497, allocations: 4.375 kB / 226.9 MB, free: 11.06 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.006504, allocations: 3.938 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.006615, allocations: 160.9 kB / 227 MB, free: 10.88 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.006943, allocations: 216.2 kB / 227.2 MB, free: 10.65 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.007091, allocations: 173.3 kB / 227.4 MB, free: 10.45 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.007198, allocations: 163.7 kB / 227.6 MB, free: 10.26 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.007204, allocations: 0 / 227.6 MB, free: 10.26 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.00744, allocations: 309.4 kB / 227.9 MB, free: 9.906 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.007441, allocations: 0 / 227.9 MB, free: 9.906 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004378/0.007879, allocations: 0.5293 MB / 228.4 MB, free: 9.297 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.007957, allocations: 182.1 kB / 228.6 MB, free: 9.082 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.008318, allocations: 355.2 kB / 228.9 MB, free: 8.723 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.008347, allocations: 33.7 kB / 228.9 MB, free: 8.684 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.0084, allocations: 97.06 kB / 229 MB, free: 8.586 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.008435, allocations: 23.78 kB / 229.1 MB, free: 8.562 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.419e-05/0.008529, allocations: 81.48 kB / 229.1 MB, free: 8.477 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.008628, allocations: 322.8 kB / 229.5 MB, free: 8.152 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.008746, allocations: 158.8 kB / 229.6 MB, free: 7.973 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.008861, allocations: 164.4 kB / 229.8 MB, free: 7.781 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.009086, allocations: 329.5 kB / 230.1 MB, free: 7.406 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.009089, allocations: 0 / 230.1 MB, free: 7.406 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002832/0.009372, allocations: 363.2 kB / 230.5 MB, free: 6.996 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.212e-05/0.009465, allocations: 134.7 kB / 230.6 MB, free: 6.84 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.009473, allocations: 3.984 kB / 230.6 MB, free: 6.836 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.009486, allocations: 0 / 230.6 MB, free: 6.836 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-05/0.009506, allocations: 8.031 kB / 230.6 MB, free: 6.828 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.009509, allocations: 0 / 230.6 MB, free: 6.828 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.009626, allocations: 8 kB / 230.6 MB, free: 6.82 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.408e-05/0.00969, allocations: 55.92 kB / 230.7 MB, free: 6.766 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0002923/0.009982, allocations: 341.3 kB / 231 MB, free: 6.398 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.01003, allocations: 35.91 kB / 231 MB, free: 6.363 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.272e-05/0.01012, allocations: 55.08 kB / 231.1 MB, free: 6.312 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01013, allocations: 0 / 231.1 MB, free: 6.312 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01013, allocations: 4 kB / 231.1 MB, free: 6.309 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01013, allocations: 0 / 231.1 MB, free: 6.309 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.01065, allocations: 0.6096 MB / 231.7 MB, free: 5.625 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01065, allocations: 0 / 231.7 MB, free: 5.625 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-06/0.01066, allocations: 192 / 231.7 MB, free: 5.625 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.01088, allocations: 139.4 kB / 231.8 MB, free: 5.488 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.01089, allocations: 8 kB / 231.8 MB, free: 5.48 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.0109, allocations: 7.984 kB / 231.8 MB, free: 5.473 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01091, allocations: 3.938 kB / 231.8 MB, free: 5.469 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01091, allocations: 0 / 231.8 MB, free: 5.469 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.01125, allocations: 0.5001 MB / 232.3 MB, free: 4.906 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.0113, allocations: 8 kB / 232.4 MB, free: 4.898 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.0114, allocations: 12 kB / 232.4 MB, free: 4.887 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.01147, allocations: 27.91 kB / 232.4 MB, free: 4.859 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/0.01152, allocations: 55.92 kB / 232.4 MB, free: 4.805 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001855/0.0117, allocations: 152.6 kB / 232.6 MB, free: 4.652 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0117, allocations: 0 / 232.6 MB, free: 4.652 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.01193, allocations: 44 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001252/0.01206, allocations: 92.17 kB / 232.7 MB, free: 4.512 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.01248, allocations: 0.5741 MB / 233.3 MB, free: 3.836 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.01249, allocations: 8.094 kB / 233.3 MB, free: 3.828 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.01274, allocations: 416 kB / 233.7 MB, free: 3.344 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.01323, allocations: 354.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.001043/0.01427, 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 8.145e-05/0.01435, allocations: 99.25 kB / 234.9 MB, free: 2.039 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.743e-05/0.01439, allocations: 8.719 kB / 234.9 MB, free: 2.027 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.01471, allocations: 167.2 kB / 235.1 MB, free: 1.863 MB / 234.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01471, allocations: 3.938 kB / 235.1 MB, free: 1.859 MB / 234.7 MB Notification: Performance of Templates: time 0.006722/0.02143, allocations: 4.659 MB / 239.7 MB, free: 13.12 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.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.606367813423276]