Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 176.8 kB / 17.4 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.3 MB / 241.4 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007444/0.0007443, allocations: 99.81 kB / 292.6 MB, free: 10.75 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003271, allocations: 11.94 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.247, allocations: 50.41 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1075/0.3546, allocations: 82.28 MB / 485 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.355, allocations: 67.97 kB / 485.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03332/0.3883, allocations: 16.63 MB / 0.49 GB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3884, allocations: 4 kB / 0.49 GB, free: 13.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.3884, allocations: 4 kB / 0.49 GB, free: 13.4 MB / 378.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.0006898/0.3891, allocations: 0.6722 MB / 0.4906 GB, free: 12.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3891, allocations: 8.031 kB / 0.4906 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.477e-05/0.3892, allocations: 32.56 kB / 0.4907 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.3895, allocations: 274.4 kB / 0.4909 GB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3896, allocations: 8.375 kB / 0.4909 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.3896, allocations: 12.31 kB / 0.491 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.3899, allocations: 130.2 kB / 0.4911 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3899, allocations: 192 / 0.4911 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.39, allocations: 19.91 kB / 0.4911 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.39, allocations: 4 kB / 0.4911 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.3901, allocations: 55.97 kB / 0.4912 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.3908, allocations: 464.4 kB / 0.4916 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.391, allocations: 94.53 kB / 0.4917 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.3911, allocations: 84.89 kB / 0.4918 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.3911, allocations: 0 / 0.4918 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.3914, allocations: 206.7 kB / 0.492 GB, free: 11.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3914, allocations: 3.938 kB / 0.492 GB, free: 11.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007943/0.3922, allocations: 483.6 kB / 0.4924 GB, free: 10.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.3924, allocations: 166.2 kB / 0.4926 GB, free: 10.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/0.393, allocations: 0.5129 MB / 0.4931 GB, free: 9.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.393, allocations: 33.7 kB / 0.4931 GB, free: 9.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.3931, allocations: 97.12 kB / 0.4932 GB, free: 9.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.3931, allocations: 27.66 kB / 0.4932 GB, free: 9.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.3932, allocations: 4.109 kB / 0.4932 GB, free: 9.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3933, allocations: 334.7 kB / 0.4936 GB, free: 9.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.3934, allocations: 55.97 kB / 0.4936 GB, free: 9.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3936, allocations: 73.69 kB / 0.4937 GB, free: 9.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.3939, allocations: 347.1 kB / 0.494 GB, free: 8.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3939, allocations: 0 / 0.494 GB, free: 8.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005099/0.3944, allocations: 388.3 kB / 0.4944 GB, free: 8.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/0.3945, allocations: 130.8 kB / 0.4945 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3945, allocations: 0 / 0.4945 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3946, allocations: 3.984 kB / 0.4945 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.822e-05/0.3946, allocations: 4 kB / 0.4945 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3946, allocations: 0 / 0.4945 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.3947, allocations: 11.94 kB / 0.4945 GB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.3948, allocations: 59.92 kB / 0.4946 GB, free: 8.262 MB / 378.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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003355/0.3951, allocations: 362.8 kB / 0.4949 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.3952, allocations: 43.53 kB / 0.495 GB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.3953, allocations: 67.14 kB / 0.495 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3953, allocations: 0 / 0.495 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3953, allocations: 0 / 0.495 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3953, allocations: 4 kB / 0.495 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.3964, allocations: 0.8095 MB / 0.4958 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3964, allocations: 192 / 0.4958 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/0.3964, allocations: 7.938 kB / 0.4958 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3964, allocations: 0 / 0.4958 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.3965, allocations: 19.98 kB / 0.4959 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3965, allocations: 4 kB / 0.4959 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3965, allocations: 0 / 0.4959 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006782/0.3972, allocations: 0.533 MB / 0.4964 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.3975, allocations: 248.3 kB / 0.4966 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.3975, allocations: 12 kB / 0.4966 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3977, allocations: 15.92 kB / 0.4966 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.3978, allocations: 27.97 kB / 0.4967 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.3978, allocations: 63.88 kB / 0.4967 GB, free: 5.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00048/0.3983, allocations: 386.9 kB / 0.4971 GB, free: 5.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3983, allocations: 3.938 kB / 0.4971 GB, free: 5.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.3986, allocations: 44 kB / 0.4971 GB, free: 5.469 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.3988, allocations: 118.9 kB / 0.4973 GB, free: 5.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.3993, allocations: 433.5 kB / 0.4977 GB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3993, allocations: 0 / 0.4977 GB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.3997, allocations: 377.6 kB / 0.498 GB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.4003, allocations: 119.3 kB / 0.4982 GB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.4015, allocations: 0.731 MB / 0.4989 GB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.402, allocations: 0.7947 MB / 0.4996 GB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.512e-05/0.402, allocations: 12.64 kB / 0.4997 GB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.402, allocations: 11.44 kB / 0.4997 GB, free: 2.734 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4021, allocations: 0 / 0.4997 GB, free: 2.734 MB / 378.7 MB Notification: Performance of Templates: time 0.1996/0.6016, allocations: 4.077 MB / 0.5036 GB, free: 100 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches