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.001041/0.001041, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001525/0.001525, allocations: 165.6 kB / 24.91 MB, free: 8.77 MB / 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 0.9138/0.9138, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] 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.142e-06/1.142e-06, allocations: 0 / 273.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.95e-05, allocations: 2.312 kB / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001838/0.001857, allocations: 1.53 MB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.003299, allocations: 0.873 MB / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.003363, allocations: 0 / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.003464, allocations: 7.875 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.364e-05/0.003547, allocations: 15.86 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.003829, allocations: 51.88 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.004007, allocations: 131.7 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.004092, allocations: 16.16 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004649/0.004557, allocations: 0.542 MB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.004676, allocations: 67.81 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.004708, allocations: 12 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.156e-05/0.00473, allocations: 8 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.826e-05/0.004798, allocations: 63.77 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.004865, allocations: 59.67 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.005094, allocations: 279 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005095, allocations: 0 / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.005097, allocations: 7.938 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.005101, allocations: 0 / 277 MB, free: 13.55 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.0005057/0.005607, allocations: 0.6109 MB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.00564, allocations: 19.98 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.005692, allocations: 28.91 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.005862, allocations: 212.1 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.005879, allocations: 8.375 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.005897, allocations: 4.375 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.006156, allocations: 233.6 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.006162, allocations: 192 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.006177, allocations: 4.375 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.006183, allocations: 7.938 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.217e-05/0.006275, allocations: 146.8 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.006584, allocations: 224.1 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.006768, allocations: 165.4 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.941e-05/0.006868, allocations: 159.6 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.006875, allocations: 0 / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.0071, allocations: 305.4 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.007102, allocations: 0 / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004545/0.007557, allocations: 0.5137 MB / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.007619, allocations: 166.2 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.007905, allocations: 363.2 kB / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.007929, allocations: 33.7 kB / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.007969, allocations: 97.06 kB / 280.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.007997, allocations: 27.83 kB / 280.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.748e-05/0.008074, allocations: 73.5 kB / 280.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.207e-05/0.008156, allocations: 322.8 kB / 280.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.00824, allocations: 146.8 kB / 280.8 MB, free: 9.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.394e-05/0.008334, allocations: 164.5 kB / 281 MB, free: 9.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.008682, allocations: 322.9 kB / 281.3 MB, free: 8.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.008686, allocations: 4 kB / 281.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000228/0.008914, allocations: 355.2 kB / 281.7 MB, free: 8.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.008972, allocations: 122.7 kB / 281.8 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.008978, allocations: 7.984 kB / 281.8 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.008986, allocations: 0 / 281.8 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.346e-05/0.008999, allocations: 0 / 281.8 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.009002, allocations: 0 / 281.8 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.009081, allocations: 12 kB / 281.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.009122, allocations: 51.94 kB / 281.9 MB, free: 8.125 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.0002301/0.009352, allocations: 357.3 kB / 282.2 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.009387, allocations: 35.91 kB / 282.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.671e-05/0.009464, allocations: 59.08 kB / 282.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.009466, allocations: 112 / 282.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.00947, allocations: 7.922 kB / 282.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.009473, allocations: 0 / 282.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.009866, allocations: 0.5939 MB / 282.9 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.009867, allocations: 0 / 282.9 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-06/0.009872, allocations: 4 kB / 282.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.009876, allocations: 3.938 kB / 282.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.009891, allocations: 15.98 kB / 282.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.009892, allocations: 0 / 282.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.009893, allocations: 0 / 282.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.01014, allocations: 489 kB / 283.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.01031, allocations: 139.4 kB / 283.5 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.01034, allocations: 12 kB / 283.5 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.01041, allocations: 16.16 kB / 283.6 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.01047, allocations: 19.98 kB / 283.6 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.01051, allocations: 48 kB / 283.6 MB, free: 6.176 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.01064, allocations: 156.6 kB / 283.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01064, allocations: 4 kB / 283.8 MB, free: 6.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001536/0.01079, allocations: 40 kB / 283.8 MB, free: 5.98 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 8.317e-05/0.01088, allocations: 96.16 kB / 283.9 MB, free: 5.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005729/0.01145, allocations: 0.5546 MB / 284.5 MB, free: 5.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.01145, allocations: 4 kB / 284.5 MB, free: 5.219 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.01163, allocations: 408.1 kB / 284.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.01194, allocations: 127.5 kB / 285 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006839/0.01262, allocations: 0.7419 MB / 285.7 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.463e-05/0.01268, allocations: 95.83 kB / 285.8 MB, free: 3.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.74e-05/0.01271, allocations: 16.64 kB / 285.9 MB, free: 3.703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.01295, allocations: 167.2 kB / 286 MB, free: 3.539 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01295, allocations: 4 kB / 286 MB, free: 3.535 MB / 266.7 MB Notification: Performance of Templates: time 0.005322/0.01827, allocations: 4.615 MB / 290.6 MB, free: 14.88 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.66786997532472]