Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001887/0.001887, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00198/0.00198, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.84e-05, allocations: 10.31 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002884/0.002912, allocations: 1.498 MB / 273.7 MB, free: 288 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.005042, allocations: 0.8458 MB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.005086, allocations: 0 / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.005186, allocations: 11.86 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.594e-05/0.005272, allocations: 27.78 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.005524, allocations: 47.89 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.00576, allocations: 135.7 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.005864, allocations: 8.234 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007661/0.00663, allocations: 0.5966 MB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.006798, allocations: 71.73 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.006858, allocations: 12 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.993e-05/0.006908, allocations: 12 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.007009, allocations: 67.72 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.00712, allocations: 55.78 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.007671, allocations: 374.8 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.007674, allocations: 0 / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.007675, allocations: 0 / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.007681, allocations: 3.938 kB / 275.9 MB, free: 14.02 MB / 266.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.001101/0.008782, allocations: 0.8016 MB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.008825, allocations: 15.98 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.00893, allocations: 56.64 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.009268, allocations: 215 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.009289, allocations: 4.375 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.009318, allocations: 8.375 kB / 277 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/0.009836, allocations: 249 kB / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.009849, allocations: 4.188 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.009879, allocations: 8.375 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.009887, allocations: 3.938 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.01014, allocations: 186.7 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009811/0.01112, allocations: 0.5384 MB / 278 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.01144, allocations: 217.8 kB / 278.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.01171, allocations: 190.5 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.01173, allocations: 11.92 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004676/0.01219, allocations: 335.1 kB / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.0122, allocations: 0 / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.00133/0.01353, allocations: 0.7396 MB / 279.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.01368, allocations: 166.2 kB / 279.7 MB, free: 9.891 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.01473, allocations: 0.6975 MB / 280.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.01477, allocations: 29.7 kB / 280.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01488, allocations: 148 kB / 280.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.01494, allocations: 43.75 kB / 280.6 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.01508, allocations: 91.2 kB / 280.7 MB, free: 8.852 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002912/0.01537, allocations: 0.5001 MB / 281.2 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.01563, allocations: 178.8 kB / 281.3 MB, free: 8.141 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.01589, allocations: 210.1 kB / 281.5 MB, free: 7.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.01632, allocations: 364.9 kB / 281.9 MB, free: 7.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01633, allocations: 0 / 281.9 MB, free: 7.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009978/0.01733, allocations: 0.5147 MB / 282.4 MB, free: 6.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.01745, allocations: 130.8 kB / 282.5 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.01745, allocations: 4.031 kB / 282.5 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.01747, allocations: 0 / 282.5 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.168e-05/0.01749, allocations: 4 kB / 282.6 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.01751, allocations: 0 / 282.6 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.01764, allocations: 11.98 kB / 282.6 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-05/0.01773, allocations: 55.94 kB / 282.6 MB, free: 6.691 MB / 266.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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.000425/0.01815, allocations: 397.2 kB / 283 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.218e-05/0.01823, allocations: 51.7 kB / 283.1 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.01834, allocations: 55.08 kB / 283.1 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01834, allocations: 0 / 283.1 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01834, allocations: 4 kB / 283.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.01835, allocations: 4 kB / 283.1 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.01984, allocations: 1.038 MB / 284.2 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.01985, allocations: 7.984 kB / 284.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-06/0.01985, allocations: 0 / 284.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.01986, allocations: 4 kB / 284.2 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.01989, allocations: 8 kB / 284.2 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01989, allocations: 3.938 kB / 284.2 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01989, allocations: 4 kB / 284.2 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009604/0.02085, allocations: 0.7506 MB / 284.9 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/0.02125, allocations: 185.4 kB / 285.1 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.02131, allocations: 15.94 kB / 285.1 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.02145, allocations: 11.98 kB / 285.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.02158, allocations: 27.97 kB / 285.2 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/0.02165, allocations: 63.94 kB / 285.2 MB, free: 3.887 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006404/0.02229, allocations: 454.7 kB / 285.7 MB, free: 3.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02229, allocations: 0 / 285.7 MB, free: 3.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.0226, allocations: 40 kB / 285.7 MB, free: 3.406 MB / 266.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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001682/0.02276, allocations: 115 kB / 285.8 MB, free: 3.281 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008197/0.02358, allocations: 0.6589 MB / 286.5 MB, free: 2.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02359, allocations: 0 / 286.5 MB, free: 2.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.02405, allocations: 456.1 kB / 286.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.02473, allocations: 141.3 kB / 287.1 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.02604, allocations: 0.772 MB / 287.8 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.02632, allocations: 185.7 kB / 288 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.498e-05/0.02636, allocations: 8.781 kB / 288 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.02639, allocations: 16.5 kB / 288 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02639, allocations: 0 / 288 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of Templates: time 0.01055/0.03694, allocations: 5.005 MB / 293.1 MB, free: 11.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.638635945972055]