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.001517/0.001517, allocations: 96.31 kB / 21.73 MB, free: 2.676 MB / 18.57 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.001569/0.001569, allocations: 169.7 kB / 25.03 MB, free: 9.434 MB / 18.57 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.373/1.373, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 250.4 MB, free: 3.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.474e-05, allocations: 6.312 kB / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003807/0.003842, allocations: 1.47 MB / 251.8 MB, free: 2.461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002965/0.006806, allocations: 0.8514 MB / 252.7 MB, free: 1.602 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.645e-05/0.006903, allocations: 0 / 252.7 MB, free: 1.602 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.007041, allocations: 11.92 kB / 252.7 MB, free: 1.59 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.00719, allocations: 23.8 kB / 252.7 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.007567, allocations: 51.81 kB / 252.8 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.007858, allocations: 131.7 kB / 252.9 MB, free: 1.387 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.007976, allocations: 12.22 kB / 252.9 MB, free: 1.371 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008937/0.008869, allocations: 0.5927 MB / 253.5 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.00907, allocations: 71.73 kB / 253.6 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.009132, allocations: 16 kB / 253.6 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.988e-05/0.009172, allocations: 8 kB / 253.6 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.009283, allocations: 63.78 kB / 253.7 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.00941, allocations: 59.67 kB / 253.7 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005439/0.009954, allocations: 374.8 kB / 254.1 MB, free: 200 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.009959, allocations: 0 / 254.1 MB, free: 200 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.00996, allocations: 0 / 254.1 MB, free: 200 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.009974, allocations: 0 / 254.1 MB, free: 200 kB / 234.7 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.001331/0.0113, allocations: 0.6515 MB / 254.7 MB, free: 15.49 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.01137, allocations: 15.92 kB / 254.7 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.01153, allocations: 48.7 kB / 254.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.01194, allocations: 220.1 kB / 255 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.01199, allocations: 8.375 kB / 255 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.01203, allocations: 8.375 kB / 255 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.01255, allocations: 252.9 kB / 255.3 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.01256, allocations: 192 / 255.3 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.01259, allocations: 8.125 kB / 255.3 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.0126, allocations: 0 / 255.3 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.01287, allocations: 182.8 kB / 255.5 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.01368, allocations: 384.2 kB / 255.8 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.014, allocations: 193.3 kB / 256 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.01425, allocations: 187.6 kB / 256.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.01427, allocations: 0 / 256.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005499/0.01482, allocations: 325.5 kB / 256.5 MB, free: 13.47 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.01482, allocations: 0 / 256.5 MB, free: 13.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001313/0.01613, allocations: 0.7126 MB / 257.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.01628, allocations: 170.2 kB / 257.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008641/0.01715, allocations: 0.513 MB / 257.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.01719, allocations: 29.7 kB / 257.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.01729, allocations: 93.14 kB / 258 MB, free: 11.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.01735, allocations: 43.66 kB / 258.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.01751, allocations: 81.56 kB / 258.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.01772, allocations: 322.8 kB / 258.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.01798, allocations: 178.8 kB / 258.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.01824, allocations: 196.5 kB / 258.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.01869, allocations: 357.7 kB / 259.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01869, allocations: 0 / 259.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001095/0.01978, allocations: 0.5225 MB / 259.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.01991, allocations: 129.5 kB / 259.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.01992, allocations: 128 / 259.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.01995, allocations: 4.031 kB / 259.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.651e-05/0.01997, allocations: 4 kB / 259.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.01998, allocations: 7.984 kB / 259.9 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.02016, allocations: 8 kB / 259.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.02026, allocations: 55.94 kB / 259.9 MB, free: 9.742 MB / 250.7 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.0005287/0.02079, allocations: 358.5 kB / 260.3 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.02091, allocations: 55.69 kB / 260.3 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.02105, allocations: 67.09 kB / 260.4 MB, free: 9.238 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.02105, allocations: 0 / 260.4 MB, free: 9.238 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.02106, allocations: 4 kB / 260.4 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.02106, allocations: 0 / 260.4 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.02239, allocations: 0.869 MB / 261.3 MB, free: 8.281 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.02239, allocations: 3.984 kB / 261.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-06/0.0224, allocations: 0 / 261.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.02241, allocations: 0 / 261.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.02244, allocations: 12 kB / 261.3 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.02245, allocations: 0 / 261.3 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.02245, allocations: 0 / 261.3 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.02347, allocations: 0.6726 MB / 261.9 MB, free: 7.527 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.02393, allocations: 205.4 kB / 262.1 MB, free: 7.328 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/0.024, allocations: 15.98 kB / 262.2 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.02415, allocations: 15.98 kB / 262.2 MB, free: 7.297 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.02428, allocations: 23.97 kB / 262.2 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.97e-05/0.02437, allocations: 59.94 kB / 262.3 MB, free: 7.215 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0006123/0.02499, allocations: 390.9 kB / 262.6 MB, free: 6.836 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02499, allocations: 0 / 262.6 MB, free: 6.836 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003232/0.02531, allocations: 47.88 kB / 262.7 MB, free: 6.789 MB / 250.7 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.0001852/0.02549, allocations: 118.4 kB / 262.8 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008152/0.02631, allocations: 0.6085 MB / 263.4 MB, free: 5.957 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02631, allocations: 4.062 kB / 263.4 MB, free: 5.953 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.02681, allocations: 432.3 kB / 263.8 MB, free: 5.457 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.02753, allocations: 136.7 kB / 264 MB, free: 5.328 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.02909, allocations: 0.7891 MB / 264.8 MB, free: 4.484 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.02945, allocations: 197.7 kB / 265 MB, free: 4.273 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.848e-05/0.02952, allocations: 4.734 kB / 265 MB, free: 4.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/0.02957, allocations: 20.5 kB / 265 MB, free: 4.25 MB / 250.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02957, allocations: 0 / 265 MB, free: 4.25 MB / 250.7 MB Notification: Performance of Templates: time 0.01164/0.04121, allocations: 4.998 MB / 270 MB, free: 15.16 MB / 266.7 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.434600837994367]