Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 78.61 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002228/0.002228, allocations: 149.5 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.821e-05, allocations: 2.281 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002657/0.002685, allocations: 1.46 MB / 320.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.004575, allocations: 0.8085 MB / 321.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.004635, allocations: 1.344 kB / 321.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.778e-05/0.004733, allocations: 8.328 kB / 321.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.004844, allocations: 31.11 kB / 321.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.005126, allocations: 46.28 kB / 321.3 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.005358, allocations: 137.3 kB / 321.4 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.005479, allocations: 12.06 kB / 321.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008192/0.006298, allocations: 0.5906 MB / 322 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.006465, allocations: 65.28 kB / 322.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.72e-05/0.006522, allocations: 10.09 kB / 322.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.239e-05/0.006565, allocations: 11.28 kB / 322.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.006675, allocations: 67.88 kB / 322.2 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.006794, allocations: 60.02 kB / 322.2 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.0073, allocations: 377.1 kB / 322.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.007303, allocations: 0 / 322.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.007304, allocations: 0 / 322.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.007316, allocations: 6.062 kB / 322.6 MB, free: 1.648 MB / 286.1 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.000633/0.007949, allocations: 0.6562 MB / 323.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.007989, allocations: 11.52 kB / 323.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.008058, allocations: 38.39 kB / 323.3 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.008279, allocations: 209.5 kB / 323.5 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.008302, allocations: 8.125 kB / 323.5 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.008334, allocations: 8.453 kB / 323.5 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.00868, allocations: 244.1 kB / 323.8 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.008691, allocations: 5.312 kB / 323.8 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.008715, allocations: 6.938 kB / 323.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.00872, allocations: 5.312 kB / 323.8 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.008891, allocations: 177.8 kB / 324 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.009443, allocations: 396.8 kB / 324.3 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.009641, allocations: 196.1 kB / 324.5 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.009868, allocations: 181.5 kB / 324.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.009883, allocations: 5.312 kB / 324.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.01032, allocations: 327.4 kB / 325 MB, free: 15.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.01032, allocations: 0 / 325 MB, free: 15.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001032/0.01135, allocations: 0.7101 MB / 325.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.01146, allocations: 167.4 kB / 325.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/0.01217, allocations: 0.5133 MB / 326.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.0122, allocations: 33.33 kB / 326.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.01228, allocations: 95.7 kB / 326.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.01232, allocations: 32.67 kB / 326.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.01245, allocations: 79.09 kB / 326.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.01261, allocations: 330.9 kB / 327 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.01283, allocations: 174.7 kB / 327.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.01305, allocations: 206 kB / 327.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.01345, allocations: 355.5 kB / 327.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.01345, allocations: 0 / 327.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007075/0.01416, allocations: 0.5095 MB / 328.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.01426, allocations: 124.9 kB / 328.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01427, allocations: 0.6094 kB / 328.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.01429, allocations: 1.375 kB / 328.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.158e-05/0.01431, allocations: 2.094 kB / 328.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01432, allocations: 0 / 328.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.01446, allocations: 14.92 kB / 328.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.533e-05/0.01453, allocations: 57.75 kB / 328.4 MB, free: 12.95 MB / 302.1 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.000384/0.01492, allocations: 361.4 kB / 328.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.01498, allocations: 43.83 kB / 328.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.0151, allocations: 64.44 kB / 328.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.0151, allocations: 1.625 kB / 328.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.01511, allocations: 3.938 kB / 328.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.01511, allocations: 5.719 kB / 328.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.01624, allocations: 0.8666 MB / 329.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01625, allocations: 1.25 kB / 329.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-06/0.01625, allocations: 8.656 kB / 329.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01626, allocations: 1.094 kB / 329.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.01629, allocations: 20.84 kB / 329.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.0163, allocations: 1.344 kB / 329.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.0163, allocations: 0.5625 kB / 329.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008315/0.01713, allocations: 0.6673 MB / 330.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/0.01753, allocations: 207.2 kB / 330.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.01759, allocations: 11.94 kB / 330.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.01773, allocations: 9.828 kB / 330.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.01785, allocations: 30.8 kB / 330.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/0.01791, allocations: 66.41 kB / 330.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005123/0.01843, allocations: 386.9 kB / 331.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01843, allocations: 3.625 kB / 331.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.01872, allocations: 37.97 kB / 331.2 MB, free: 11.07 MB / 302.1 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.0001587/0.01888, allocations: 115.7 kB / 331.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007136/0.01959, allocations: 0.6082 MB / 331.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.01959, allocations: 1.188 kB / 331.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.02, allocations: 426.1 kB / 332.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006894/0.02069, allocations: 124.9 kB / 332.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.02195, allocations: 0.7793 MB / 333.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.02222, allocations: 192.1 kB / 333.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.912e-05/0.02227, allocations: 9.734 kB / 333.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.0223, allocations: 12.22 kB / 333.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.0223, allocations: 0 / 333.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of Templates: time 0.009107/0.03141, allocations: 4.996 MB / 338.4 MB, free: 6.988 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.430081367492676]