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.002239/0.002239, allocations: 98.44 kB / 21.93 MB, free: 5.207 MB / 14.72 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.002696/0.002696, allocations: 203.2 kB / 25.22 MB, free: 3.141 MB / 14.72 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.442/1.442, allocations: 207.7 MB / 236.1 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 59.92 kB / 348.4 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2747, allocations: 49.16 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003399/0.2781, allocations: 1.462 MB / 399.1 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.2809, allocations: 0.8556 MB / 399.9 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.281, allocations: 0 / 399.9 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.2811, allocations: 8.031 kB / 399.9 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.2812, allocations: 19.92 kB / 399.9 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.2816, allocations: 52.66 kB / 400 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.2818, allocations: 133.4 kB / 400.1 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.282, allocations: 17.12 kB / 400.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.283, allocations: 0.5832 MB / 400.7 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.2832, allocations: 66.67 kB / 400.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.92e-05/0.2833, allocations: 8.406 kB / 400.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.438e-05/0.2833, allocations: 9.812 kB / 400.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2834, allocations: 70.11 kB / 400.9 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.2836, allocations: 75.8 kB / 401 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.2842, allocations: 382.8 kB / 401.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2842, allocations: 0 / 401.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2842, allocations: 0 / 401.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.2842, allocations: 4 kB / 401.3 MB, free: 7.434 MB / 318.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.0009068/0.2851, allocations: 0.6588 MB / 402 MB, free: 6.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.2852, allocations: 12.3 kB / 402 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.2853, allocations: 38.92 kB / 402 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.2856, allocations: 219.4 kB / 402.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.2856, allocations: 4.5 kB / 402.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.2857, allocations: 11.59 kB / 402.3 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.2862, allocations: 245.5 kB / 402.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2862, allocations: 0 / 402.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.2862, allocations: 12.25 kB / 402.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2862, allocations: 5.797 kB / 402.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.2865, allocations: 180.5 kB / 402.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009647/0.2874, allocations: 391.2 kB / 403.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.2878, allocations: 193.6 kB / 403.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.288, allocations: 184.6 kB / 403.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.288, allocations: 1.062 kB / 403.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005465/0.2886, allocations: 325.6 kB / 403.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.2886, allocations: 0 / 403.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001275/0.2898, allocations: 0.7036 MB / 404.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.2899, allocations: 170.8 kB / 404.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009876/0.2909, allocations: 0.512 MB / 405.2 MB, free: 4.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.2909, allocations: 29.36 kB / 405.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.291, allocations: 100.8 kB / 405.3 MB, free: 4.258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.2911, allocations: 32.64 kB / 405.3 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.2912, allocations: 88.7 kB / 405.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.2913, allocations: 326.8 kB / 405.7 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.2915, allocations: 174.8 kB / 405.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.2918, allocations: 197.5 kB / 406.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.2922, allocations: 353.7 kB / 406.4 MB, free: 3.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2922, allocations: 5.125 kB / 406.4 MB, free: 3.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008587/0.2931, allocations: 0.5043 MB / 406.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.444e-05/0.2932, allocations: 127.4 kB / 407.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2932, allocations: 0.75 kB / 407.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.2932, allocations: 1.125 kB / 407.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.701e-05/0.2932, allocations: 1.094 kB / 407.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.2932, allocations: 6.203 kB / 407.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.2935, allocations: 10.75 kB / 407.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.2936, allocations: 56.5 kB / 407.1 MB, free: 2.715 MB / 318.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.0004952/0.2941, allocations: 368.6 kB / 407.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/0.2941, allocations: 39.81 kB / 407.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.2943, allocations: 64.52 kB / 407.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2943, allocations: 2.172 kB / 407.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2943, allocations: 0 / 407.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2943, allocations: 1.375 kB / 407.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.2957, allocations: 0.8678 MB / 408.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2957, allocations: 192 / 408.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-05/0.2957, allocations: 5.703 kB / 408.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2957, allocations: 0 / 408.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.2957, allocations: 22.06 kB / 408.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2958, allocations: 0 / 408.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2958, allocations: 0 / 408.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009792/0.2967, allocations: 0.6661 MB / 409.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.2973, allocations: 210.7 kB / 409.4 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.244e-05/0.2974, allocations: 15.66 kB / 409.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2976, allocations: 10.05 kB / 409.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.2978, allocations: 26.41 kB / 409.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.553e-05/0.2979, allocations: 59.58 kB / 409.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006758/0.2985, allocations: 385.5 kB / 409.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2985, allocations: 0 / 409.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005318/0.2991, allocations: 53.14 kB / 409.9 MB, free: 0.832 MB / 318.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.0001477/0.2992, allocations: 112.5 kB / 410 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007396/0.3, allocations: 0.6112 MB / 410.6 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3, allocations: 0 / 410.6 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005205/0.3005, allocations: 425.6 kB / 411 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.3012, allocations: 113.3 kB / 411.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.3026, allocations: 0.8191 MB / 412 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3029, allocations: 199.1 kB / 412.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.3029, allocations: 10.91 kB / 412.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3029, allocations: 1.062 kB / 412.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Templates: time 0.005737/0.3086, allocations: 2.668 MB / 414.8 MB, free: 13.89 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.499386163894087]