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.002017/0.002017, allocations: 120.5 kB / 21.94 MB, free: 8 kB / 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.002755/0.002755, allocations: 204.8 kB / 25.24 MB, free: 3.547 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.475/1.475, allocations: 207.6 MB / 236 MB, free: 9.969 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.001854/0.001854, allocations: 51.92 kB / 348.4 MB, free: 9.609 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.277, allocations: 49.15 MB / 397.6 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002467/0.2795, allocations: 1.512 MB / 399.1 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.2813, allocations: 0.91 MB / 400 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.2813, allocations: 1.125 kB / 400 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.174e-05/0.2814, allocations: 13.81 kB / 400 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.681e-05/0.2815, allocations: 18.45 kB / 400.1 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.2817, allocations: 55.45 kB / 400.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.2819, allocations: 129.4 kB / 400.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.793e-05/0.2819, allocations: 11.92 kB / 400.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006734/0.2826, allocations: 0.5801 MB / 400.8 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.2827, allocations: 78.17 kB / 400.9 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.2828, allocations: 9.281 kB / 400.9 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.873e-05/0.2828, allocations: 10.16 kB / 400.9 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.2829, allocations: 62.92 kB / 401 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.283, allocations: 115.2 kB / 401.1 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.2834, allocations: 373.7 kB / 401.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2834, allocations: 4.75 kB / 401.5 MB, free: 7.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.2834, allocations: 0 / 401.5 MB, free: 7.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2834, allocations: 1.125 kB / 401.5 MB, free: 7.371 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.0005667/0.284, allocations: 0.655 MB / 402.1 MB, free: 6.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.284, allocations: 13.45 kB / 402.1 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.2841, allocations: 38.48 kB / 402.2 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.2843, allocations: 222.8 kB / 402.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.2843, allocations: 4.969 kB / 402.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.2844, allocations: 8.062 kB / 402.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.2846, allocations: 135.8 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2846, allocations: 0 / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.2847, allocations: 11.36 kB / 402.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-06/0.2847, allocations: 1.062 kB / 402.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.2848, allocations: 58.91 kB / 402.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.2854, allocations: 427.5 kB / 403 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.2856, allocations: 72.97 kB / 403.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.2857, allocations: 66.38 kB / 403.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.2857, allocations: 0 / 403.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/0.286, allocations: 211.8 kB / 403.4 MB, free: 5.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.286, allocations: 0 / 403.4 MB, free: 5.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007253/0.2867, allocations: 470.3 kB / 403.8 MB, free: 5.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.2868, allocations: 167.4 kB / 404 MB, free: 5.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.2874, allocations: 0.5187 MB / 404.5 MB, free: 5.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.2875, allocations: 29.92 kB / 404.5 MB, free: 5.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.2875, allocations: 104.9 kB / 404.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.2875, allocations: 30.92 kB / 404.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2876, allocations: 88.88 kB / 404.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.2877, allocations: 325.9 kB / 405.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.2878, allocations: 63.25 kB / 405.1 MB, free: 4.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.2879, allocations: 78.02 kB / 405.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.2882, allocations: 341.7 kB / 405.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2882, allocations: 0 / 405.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004914/0.2887, allocations: 393.5 kB / 405.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.667e-05/0.2888, allocations: 123.6 kB / 406.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2888, allocations: 0.75 kB / 406.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2888, allocations: 1.5 kB / 406.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.735e-05/0.2888, allocations: 5.25 kB / 406.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.2888, allocations: 1.875 kB / 406.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.2889, allocations: 13.06 kB / 406.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/0.289, allocations: 58.8 kB / 406.1 MB, free: 3.953 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.000284/0.2893, allocations: 360.1 kB / 406.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.2893, allocations: 39.36 kB / 406.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.2894, allocations: 64.41 kB / 406.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2894, allocations: 1.094 kB / 406.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2894, allocations: 1.094 kB / 406.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2894, allocations: 0.7031 kB / 406.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008846/0.2903, allocations: 0.8041 MB / 407.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2903, allocations: 0 / 407.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-06/0.2903, allocations: 0.6562 kB / 407.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2903, allocations: 1.375 kB / 407.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.2904, allocations: 13.16 kB / 407.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2904, allocations: 3.938 kB / 407.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2904, allocations: 4.688 kB / 407.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.2909, allocations: 0.5324 MB / 407.9 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/0.2913, allocations: 216.7 kB / 408.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.2913, allocations: 14.88 kB / 408.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2915, allocations: 9.453 kB / 408.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.2916, allocations: 26.92 kB / 408.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.563e-05/0.2917, allocations: 61.92 kB / 408.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004659/0.2921, allocations: 387.4 kB / 408.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2921, allocations: 7.875 kB / 408.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.2924, allocations: 44.36 kB / 408.7 MB, free: 2.316 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.0001022/0.2925, allocations: 120.6 kB / 408.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.2929, allocations: 370.1 kB / 409.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2929, allocations: 1.219 kB / 409.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.2932, allocations: 305.2 kB / 409.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.2938, allocations: 113.5 kB / 409.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.295, allocations: 0.7005 MB / 410.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.2953, allocations: 0.8025 MB / 411.1 MB, free: 452 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.2953, allocations: 11.56 kB / 411.1 MB, free: 444 kB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2953, allocations: 1.5 kB / 411.1 MB, free: 444 kB / 318.1 MB Notification: Performance of Templates: time 0.004932/0.3002, allocations: 2.651 MB / 413.8 MB, free: 15.35 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.636603463906795]