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.001264/0.001264, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001454/0.001454, allocations: 165.8 kB / 25.7 MB, free: 8.438 MB / 18.57 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.8681/0.8681, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.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.493e-06/1.493e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.023e-05, allocations: 6.25 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001771/0.001792, allocations: 1.515 MB / 253 MB, free: 5.742 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003092, allocations: 0.87 MB / 253.9 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.003133, allocations: 0 / 253.9 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.403e-05/0.003217, allocations: 7.922 kB / 253.9 MB, free: 4.855 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.679e-05/0.003284, allocations: 23.8 kB / 253.9 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.003484, allocations: 59.81 kB / 254 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.003629, allocations: 127.7 kB / 254.1 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.041e-05/0.003699, allocations: 16.2 kB / 254.1 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004004/0.0041, allocations: 0.542 MB / 254.7 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.004226, allocations: 67.75 kB / 254.7 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.004254, allocations: 8 kB / 254.8 MB, free: 4.012 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.23e-05/0.004276, allocations: 8 kB / 254.8 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.004336, allocations: 63.78 kB / 254.8 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.004399, allocations: 59.78 kB / 254.9 MB, free: 3.883 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.004608, allocations: 286.9 kB / 255.2 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.00461, allocations: 4 kB / 255.2 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004611, allocations: 0 / 255.2 MB, free: 3.598 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.004615, allocations: 0 / 255.2 MB, free: 3.598 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.0004404/0.005055, allocations: 0.6147 MB / 255.8 MB, free: 2.934 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.005084, allocations: 11.98 kB / 255.8 MB, free: 2.922 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.005138, allocations: 36.91 kB / 255.8 MB, free: 2.887 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.005296, allocations: 212.1 kB / 256 MB, free: 2.652 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.005311, allocations: 4.375 kB / 256 MB, free: 2.648 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.00533, allocations: 12.38 kB / 256.1 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.005537, allocations: 233.3 kB / 256.3 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.005542, allocations: 4.188 kB / 256.3 MB, free: 2.375 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.005556, allocations: 4.375 kB / 256.3 MB, free: 2.371 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.005561, allocations: 3.938 kB / 256.3 MB, free: 2.367 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.412e-05/0.005635, allocations: 146.8 kB / 256.4 MB, free: 2.199 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.005888, allocations: 220.1 kB / 256.6 MB, free: 1.969 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.006008, allocations: 161.4 kB / 256.8 MB, free: 1.773 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.006086, allocations: 159.8 kB / 257 MB, free: 1.59 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-06/0.00609, allocations: 0 / 257 MB, free: 1.59 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.006262, allocations: 309.3 kB / 257.3 MB, free: 1.238 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.006263, allocations: 0 / 257.3 MB, free: 1.238 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003123/0.006576, allocations: 0.5098 MB / 257.8 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.006631, allocations: 170.2 kB / 257.9 MB, free: 456 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.006889, allocations: 359.2 kB / 258.3 MB, free: 84 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.006908, allocations: 29.7 kB / 258.3 MB, free: 48 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.006952, allocations: 97.06 kB / 258.4 MB, free: 15.95 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.006978, allocations: 35.72 kB / 258.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.007043, allocations: 77.48 kB / 258.5 MB, free: 15.83 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.007115, allocations: 318.8 kB / 258.8 MB, free: 15.51 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.007194, allocations: 154.8 kB / 259 MB, free: 15.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.13e-05/0.007275, allocations: 160.5 kB / 259.1 MB, free: 15.15 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.007423, allocations: 315.4 kB / 259.5 MB, free: 14.79 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007424, allocations: 0 / 259.5 MB, free: 14.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002058/0.00763, allocations: 351.2 kB / 259.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.912e-05/0.007689, allocations: 130.7 kB / 259.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.007694, allocations: 0 / 259.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.007704, allocations: 0 / 259.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.526e-05/0.007719, allocations: 4.031 kB / 259.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.007723, allocations: 7.984 kB / 259.9 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.007798, allocations: 11.94 kB / 259.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.00784, allocations: 51.94 kB / 260 MB, free: 14.16 MB / 250.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.0002211/0.008061, allocations: 345.4 kB / 260.3 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.008097, allocations: 43.91 kB / 260.4 MB, free: 13.74 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/0.008167, allocations: 47.09 kB / 260.4 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008169, allocations: 128 / 260.4 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.008172, allocations: 4 kB / 260.4 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.008176, allocations: 3.984 kB / 260.4 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.00855, allocations: 0.5977 MB / 261 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.008552, allocations: 0 / 261 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-06/0.008556, allocations: 3.984 kB / 261 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.008559, allocations: 7.938 kB / 261 MB, free: 13.01 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.008571, allocations: 7.984 kB / 261 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.008573, allocations: 0 / 261 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008574, allocations: 3.938 kB / 261.1 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.008811, allocations: 485.1 kB / 261.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.008989, allocations: 151.4 kB / 261.7 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.009029, allocations: 8 kB / 261.7 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.009098, allocations: 15.94 kB / 261.7 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.009155, allocations: 23.97 kB / 261.7 MB, free: 12.26 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.009191, allocations: 55.92 kB / 261.8 MB, free: 12.21 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.009325, allocations: 148.6 kB / 261.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009325, allocations: 0 / 261.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001496/0.009475, allocations: 44 kB / 262 MB, free: 12.02 MB / 250.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 9.234e-05/0.009567, allocations: 99.39 kB / 262.1 MB, free: 11.92 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.009872, allocations: 0.5545 MB / 262.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.009877, allocations: 8.062 kB / 262.6 MB, free: 11.26 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.01005, allocations: 408 kB / 263 MB, free: 10.78 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.01033, allocations: 127.6 kB / 263.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.01099, allocations: 0.7293 MB / 263.9 MB, free: 9.883 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.652e-05/0.01106, allocations: 95.27 kB / 264 MB, free: 9.77 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.474e-05/0.01108, allocations: 8.719 kB / 264 MB, free: 9.762 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.01132, allocations: 175.2 kB / 264.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01132, allocations: 0 / 264.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of Templates: time 0.005552/0.01687, allocations: 4.622 MB / 268.8 MB, free: 4.891 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 -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.716270841192454]