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.001771/0.001771, allocations: 103.6 kB / 21.18 MB, free: 332 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.001838/0.001838, allocations: 210.4 kB / 24.47 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.554/1.554, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.001857/0.001857, allocations: 59.86 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3225, allocations: 49.16 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002596/0.3251, allocations: 1.46 MB / 398.3 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.327, allocations: 0.8599 MB / 399.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.3271, allocations: 1.281 kB / 399.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.3272, allocations: 12.16 kB / 399.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.624e-05/0.3273, allocations: 15.92 kB / 399.2 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.3276, allocations: 51.7 kB / 399.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.3278, allocations: 132.9 kB / 399.4 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3279, allocations: 16.94 kB / 399.4 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009832/0.3289, allocations: 0.5798 MB / 400 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.3292, allocations: 69.23 kB / 400 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.3292, allocations: 14.97 kB / 400.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.3293, allocations: 8.344 kB / 400.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.3295, allocations: 70.5 kB / 400.1 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.3296, allocations: 80.77 kB / 400.2 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.3302, allocations: 375 kB / 400.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3303, allocations: 0 / 400.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3303, allocations: 0 / 400.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3303, allocations: 0 / 400.6 MB, free: 7.438 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.0009401/0.3312, allocations: 0.652 MB / 401.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.3313, allocations: 18.59 kB / 401.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.3314, allocations: 37.8 kB / 401.3 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.3317, allocations: 218.8 kB / 401.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.3317, allocations: 9.172 kB / 401.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.3318, allocations: 7.688 kB / 401.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.3323, allocations: 250.5 kB / 401.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3323, allocations: 1.281 kB / 401.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.3323, allocations: 2.719 kB / 401.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3323, allocations: 5.375 kB / 401.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.3325, allocations: 177.8 kB / 401.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/0.3332, allocations: 399.3 kB / 402.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.3334, allocations: 192.3 kB / 402.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.3336, allocations: 178.2 kB / 402.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.3336, allocations: 4 kB / 402.7 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000457/0.3341, allocations: 325.3 kB / 403 MB, free: 5.395 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.3341, allocations: 0 / 403 MB, free: 5.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009416/0.335, allocations: 0.7075 MB / 403.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.3351, allocations: 167.4 kB / 403.9 MB, free: 4.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006684/0.3357, allocations: 0.5085 MB / 404.4 MB, free: 4.395 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.3358, allocations: 38.36 kB / 404.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.3358, allocations: 99.39 kB / 404.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.3358, allocations: 32.3 kB / 404.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.336, allocations: 85.48 kB / 404.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.336, allocations: 330.8 kB / 405 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.3362, allocations: 177.8 kB / 405.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.3364, allocations: 194.2 kB / 405.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.3367, allocations: 350 kB / 405.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3367, allocations: 0 / 405.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005689/0.3372, allocations: 0.5072 MB / 406.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.898e-05/0.3373, allocations: 124 kB / 406.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3373, allocations: 0.6562 kB / 406.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3373, allocations: 1.375 kB / 406.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.516e-05/0.3374, allocations: 1.5 kB / 406.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3374, allocations: 1.938 kB / 406.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.3375, allocations: 14.5 kB / 406.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.628e-05/0.3376, allocations: 61.48 kB / 406.4 MB, free: 2.723 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.0003212/0.3379, allocations: 371.7 kB / 406.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.338, allocations: 48.61 kB / 406.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.3381, allocations: 68.52 kB / 406.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3381, allocations: 1.219 kB / 406.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3381, allocations: 1.094 kB / 406.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3381, allocations: 0 / 406.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000973/0.3391, allocations: 0.8573 MB / 407.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3391, allocations: 0 / 407.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-06/0.3391, allocations: 0 / 407.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3391, allocations: 1.984 kB / 407.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.3391, allocations: 16.62 kB / 407.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3391, allocations: 0 / 407.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3391, allocations: 6.281 kB / 407.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.3398, allocations: 0.6615 MB / 408.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/0.3401, allocations: 210.2 kB / 408.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.3402, allocations: 7.578 kB / 408.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3403, allocations: 14.69 kB / 408.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.3405, allocations: 21.38 kB / 408.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.243e-05/0.3406, allocations: 62.58 kB / 408.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004782/0.341, allocations: 388 kB / 409.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.341, allocations: 0 / 409.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.3413, allocations: 48.67 kB / 409.1 MB, free: 0.8516 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.0001214/0.3414, allocations: 119.3 kB / 409.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000551/0.342, allocations: 0.6108 MB / 409.9 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.342, allocations: 1.75 kB / 409.9 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.3424, allocations: 425.5 kB / 410.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.343, allocations: 118 kB / 410.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.3444, allocations: 0.7733 MB / 411.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.3447, allocations: 199.6 kB / 411.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.839e-05/0.3448, allocations: 14.27 kB / 411.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.3448, allocations: 11.47 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3448, allocations: 0 / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Templates: time 0.01032/0.3551, allocations: 5.07 MB / 416.5 MB, free: 12.62 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/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: 4.79046805948019]