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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009681/0.0009681, allocations: 95.25 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.00119, allocations: 206.3 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002402/0.0002402, allocations: 8 kB / 308.4 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.09079, allocations: 51.53 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001711/0.09255, allocations: 1.222 MB / 361.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.09433, allocations: 0.9007 MB / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.09442, allocations: 0 / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.99e-05/0.09452, allocations: 7.922 kB / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.006e-05/0.09461, allocations: 15.86 kB / 362.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.09486, allocations: 43.95 kB / 362.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.09501, allocations: 107.6 kB / 362.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.09512, allocations: 28.22 kB / 362.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.09568, allocations: 0.5576 MB / 362.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.09581, allocations: 63.77 kB / 362.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.09585, allocations: 0 / 362.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.335e-05/0.09588, allocations: 4 kB / 362.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.531e-05/0.09597, allocations: 67.69 kB / 362.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.09611, allocations: 136.9 kB / 363.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.09637, allocations: 287.3 kB / 363.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.09638, allocations: 0 / 363.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.09639, allocations: 0 / 363.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.0964, allocations: 0 / 363.3 MB, free: 9.848 MB / 302.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.0007279/0.09713, allocations: 0.6647 MB / 364 MB, free: 9.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.09718, allocations: 12.03 kB / 364 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.363e-05/0.09727, allocations: 36.47 kB / 364 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.09755, allocations: 274.3 kB / 364.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.09759, allocations: 4.375 kB / 364.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.09763, allocations: 16.31 kB / 364.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.09795, allocations: 133.9 kB / 364.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.09797, allocations: 0 / 364.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.098, allocations: 4 kB / 364.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.09801, allocations: 4 kB / 364.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.09817, allocations: 59.97 kB / 364.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.0988, allocations: 460.5 kB / 365 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.09899, allocations: 94.55 kB / 365.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.09915, allocations: 80.89 kB / 365.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.09917, allocations: 8 kB / 365.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003058/0.09948, allocations: 206.6 kB / 365.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.09949, allocations: 0 / 365.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007864/0.1003, allocations: 487.7 kB / 365.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.1004, allocations: 166.2 kB / 366 MB, free: 6.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/0.101, allocations: 0.5091 MB / 366.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.101, allocations: 29.7 kB / 366.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.1011, allocations: 109 kB / 366.6 MB, free: 6.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.1012, allocations: 35.58 kB / 366.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.1012, allocations: 21.72 kB / 366.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1013, allocations: 326.8 kB / 367 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1015, allocations: 55.97 kB / 367.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1016, allocations: 77.67 kB / 367.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.1019, allocations: 339.3 kB / 367.5 MB, free: 5.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.102, allocations: 0 / 367.5 MB, free: 5.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005283/0.1025, allocations: 388.3 kB / 367.9 MB, free: 4.926 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.428e-05/0.1026, allocations: 130.7 kB / 368 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1026, allocations: 0 / 368 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1026, allocations: 112 / 368 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-05/0.1026, allocations: 7.938 kB / 368 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1027, allocations: 0 / 368 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1028, allocations: 11.91 kB / 368 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.747e-05/0.1029, allocations: 63.92 kB / 368.1 MB, free: 4.691 MB / 302.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.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.0003371/0.1032, allocations: 374.7 kB / 368.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.1033, allocations: 35.62 kB / 368.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.846e-05/0.1034, allocations: 63.14 kB / 368.5 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1034, allocations: 128 / 368.5 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1034, allocations: 4 kB / 368.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1034, allocations: 7.984 kB / 368.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009178/0.1044, allocations: 0.8211 MB / 369.4 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1044, allocations: 4 kB / 369.4 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-06/0.1044, allocations: 0 / 369.4 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1044, allocations: 4 kB / 369.4 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.1044, allocations: 11.98 kB / 369.4 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1044, allocations: 0 / 369.4 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.1044, allocations: 3.938 kB / 369.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.1051, allocations: 0.5442 MB / 369.9 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.1054, allocations: 244.5 kB / 370.2 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.1054, allocations: 8 kB / 370.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1056, allocations: 19.98 kB / 370.2 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.1057, allocations: 27.91 kB / 370.2 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.1058, allocations: 59.94 kB / 370.3 MB, free: 2.297 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004413/0.1062, allocations: 382.9 kB / 370.7 MB, free: 1.922 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1062, allocations: 0 / 370.7 MB, free: 1.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.1065, allocations: 47.84 kB / 370.7 MB, free: 1.875 MB / 302.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,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.00014/0.1067, allocations: 119 kB / 370.8 MB, free: 1.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.1072, allocations: 437.5 kB / 371.3 MB, free: 1.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1072, allocations: 4 kB / 371.3 MB, free: 1.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.1075, allocations: 369.6 kB / 371.6 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.1081, allocations: 113.2 kB / 371.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1537/0.2619, allocations: 0.8015 MB / 372.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.2623, allocations: 0.8011 MB / 373.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.2623, allocations: 15.12 kB / 373.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2623, allocations: 0 / 373.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of Templates: time 0.005342/0.2677, allocations: 2.661 MB / 376 MB, free: 18.82 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches