Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002108/0.002108, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002276/0.002276, allocations: 88.42 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003845, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3222, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.4477, allocations: 81.37 MB / 455.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.448, allocations: 67.97 kB / 456 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05623/0.5043, allocations: 16.42 MB / 472.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5043, allocations: 0 / 472.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.5043, allocations: 4 kB / 472.4 MB, free: 14.93 MB / 362.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.0008314/0.5052, allocations: 0.6721 MB / 473.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.5052, allocations: 8.031 kB / 473.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.98e-05/0.5053, allocations: 43.62 kB / 473.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.5057, allocations: 257.4 kB / 473.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.5058, allocations: 4 kB / 473.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.5058, allocations: 11.94 kB / 473.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.5063, allocations: 137.5 kB / 473.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.5063, allocations: 0 / 473.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.5064, allocations: 4 kB / 473.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5064, allocations: 0 / 473.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.5066, allocations: 55.97 kB / 473.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009115/0.5076, allocations: 464.5 kB / 474 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.5079, allocations: 94.48 kB / 474.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.5079, allocations: 0 / 474.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.5083, allocations: 210.8 kB / 474.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.5083, allocations: 0 / 474.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001287/0.5096, allocations: 0.6154 MB / 474.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.5097, allocations: 170.2 kB / 475.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009146/0.5107, allocations: 460.5 kB / 475.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.5107, allocations: 33.7 kB / 475.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.5108, allocations: 163.5 kB / 475.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.5109, allocations: 19.72 kB / 475.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.5109, allocations: 8 kB / 475.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5111, allocations: 330.7 kB / 476.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.5113, allocations: 63.91 kB / 476.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.5115, allocations: 65.69 kB / 476.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.5118, allocations: 166.8 kB / 476.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5118, allocations: 0 / 476.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008453/0.5127, allocations: 368.2 kB / 476.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.5128, allocations: 130.7 kB / 476.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5128, allocations: 4.031 kB / 476.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.5129, allocations: 4 kB / 476.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.412e-05/0.5129, allocations: 0 / 476.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5129, allocations: 80 / 476.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.5131, allocations: 15.98 kB / 476.9 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.5133, allocations: 59.92 kB / 477 MB, free: 9.941 MB / 362.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.0005584/0.5138, allocations: 358.8 kB / 477.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.597e-05/0.5139, allocations: 43.47 kB / 477.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.5142, allocations: 75.14 kB / 477.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5142, allocations: 0 / 477.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5142, allocations: 0 / 477.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.5142, allocations: 3.984 kB / 477.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.5157, allocations: 0.8096 MB / 478.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5158, allocations: 4 kB / 478.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.5158, allocations: 0 / 478.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.5158, allocations: 0 / 478.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.5159, allocations: 15.98 kB / 478.3 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5159, allocations: 0 / 478.3 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5159, allocations: 4 kB / 478.3 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.517, allocations: 0.5216 MB / 478.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/0.5175, allocations: 240.5 kB / 479 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/0.5176, allocations: 15.94 kB / 479 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.5179, allocations: 11.98 kB / 479 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.518, allocations: 27.97 kB / 479.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.5182, allocations: 59.92 kB / 479.1 MB, free: 7.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007467/0.5189, allocations: 390.9 kB / 479.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5189, allocations: 0 / 479.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004157/0.5194, allocations: 44 kB / 479.6 MB, free: 7.18 MB / 362.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.0001877/0.5196, allocations: 111.2 kB / 479.7 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008407/0.5204, allocations: 441.5 kB / 480.1 MB, free: 6.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5204, allocations: 0 / 480.1 MB, free: 6.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.5209, allocations: 377.6 kB / 480.5 MB, free: 6.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.5217, allocations: 108 kB / 480.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.5235, allocations: 0.785 MB / 481.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.524, allocations: 0.814 MB / 482.2 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.5241, allocations: 11.44 kB / 482.2 MB, free: 4.391 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5241, allocations: 0 / 482.2 MB, free: 4.391 MB / 362.7 MB Notification: Performance of Templates: time 0.006569/0.5307, allocations: 2.623 MB / 484.8 MB, free: 1.703 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NXFER --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches