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.001745/0.001745, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001534/0.001534, allocations: 186 kB / 23.7 MB, free: 4.191 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.47/1.47, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.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 0.001552/0.001552, allocations: 47.94 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2777, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002828/0.2805, allocations: 1.485 MB / 424.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.2825, allocations: 0.807 MB / 425.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.2825, allocations: 0 / 425.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.2827, allocations: 7.922 kB / 425.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.896e-05/0.2827, allocations: 23.73 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.283, allocations: 47.94 kB / 425.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.2833, allocations: 139.7 kB / 425.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2834, allocations: 16.2 kB / 425.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006368/0.284, allocations: 0.577 MB / 426.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.2842, allocations: 71.75 kB / 426.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.2842, allocations: 8 kB / 426.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.788e-05/0.2842, allocations: 12 kB / 426.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.793e-05/0.2843, allocations: 63.7 kB / 426.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.2844, allocations: 83.34 kB / 426.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.2849, allocations: 380.7 kB / 426.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2849, allocations: 0 / 426.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.2849, allocations: 0 / 426.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.2849, allocations: 4 kB / 426.8 MB, free: 10.75 MB / 334.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.0008277/0.2857, allocations: 0.6543 MB / 427.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2857, allocations: 12.03 kB / 427.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.2858, allocations: 36.7 kB / 427.5 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.2861, allocations: 216.9 kB / 427.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2861, allocations: 8.375 kB / 427.7 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.2861, allocations: 8.375 kB / 427.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.2865, allocations: 244.7 kB / 427.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2865, allocations: 0 / 427.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.2865, allocations: 7.938 kB / 427.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2865, allocations: 0 / 427.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.2867, allocations: 182.8 kB / 428.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.2874, allocations: 388.2 kB / 428.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.2877, allocations: 197.3 kB / 428.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.2879, allocations: 175.7 kB / 428.9 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.2879, allocations: 4 kB / 428.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000437/0.2883, allocations: 325.5 kB / 429.2 MB, free: 8.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.707e-06/0.2884, allocations: 3.984 kB / 429.2 MB, free: 8.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001009/0.2894, allocations: 0.712 MB / 429.9 MB, free: 7.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.2895, allocations: 174.2 kB / 430.1 MB, free: 7.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.2902, allocations: 0.509 MB / 430.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.2902, allocations: 33.7 kB / 430.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.2903, allocations: 97.12 kB / 430.7 MB, free: 6.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.2903, allocations: 35.73 kB / 430.7 MB, free: 6.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.2905, allocations: 81.55 kB / 430.8 MB, free: 6.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2906, allocations: 330.8 kB / 431.1 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.2908, allocations: 174.8 kB / 431.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.291, allocations: 196.4 kB / 431.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.2914, allocations: 351.3 kB / 431.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2914, allocations: 7.938 kB / 431.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006641/0.2921, allocations: 0.503 MB / 432.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.2922, allocations: 126.8 kB / 432.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2922, allocations: 0 / 432.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2922, allocations: 0 / 432.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.333e-05/0.2922, allocations: 4 kB / 432.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2922, allocations: 0 / 432.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2924, allocations: 11.98 kB / 432.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/0.2924, allocations: 59.94 kB / 432.6 MB, free: 4.344 MB / 334.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.000437/0.2929, allocations: 366.6 kB / 432.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.2929, allocations: 39.77 kB / 433 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.293, allocations: 67.09 kB / 433 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.293, allocations: 4 kB / 433 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2931, allocations: 0 / 433 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2931, allocations: 3.984 kB / 433 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.2941, allocations: 0.865 MB / 433.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2941, allocations: 0 / 433.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.2942, allocations: 0 / 433.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2942, allocations: 3.938 kB / 433.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.2942, allocations: 19.98 kB / 433.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2942, allocations: 4 kB / 433.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2942, allocations: 0 / 433.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007658/0.295, allocations: 0.6608 MB / 434.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.2954, allocations: 213.4 kB / 434.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.2954, allocations: 4 kB / 434.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.2955, allocations: 15.98 kB / 434.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2956, allocations: 19.98 kB / 434.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.2957, allocations: 63.92 kB / 434.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004774/0.2962, allocations: 382.9 kB / 435.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2962, allocations: 0 / 435.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.2965, allocations: 51.88 kB / 435.3 MB, free: 1.402 MB / 334.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.0001393/0.2966, allocations: 113.6 kB / 435.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007012/0.2973, allocations: 0.6124 MB / 436 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2973, allocations: 0 / 436 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.2977, allocations: 428.6 kB / 436.5 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.2983, allocations: 120.8 kB / 436.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.2995, allocations: 0.7693 MB / 437.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.2998, allocations: 201.6 kB / 437.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.253e-05/0.2998, allocations: 12.64 kB / 437.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.2998, allocations: 11.44 kB / 437.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2998, allocations: 3.938 kB / 437.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of Templates: time 0.009016/0.3089, allocations: 5.058 MB / 442.6 MB, free: 9.812 MB / 350.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.78046815469861]