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.002102/0.002102, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001098/0.001098, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.353e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4502/0.5509, allocations: 81.26 MB / 450.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.5512, allocations: 74.14 kB / 450.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05941/0.6107, allocations: 16.52 MB / 466.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6107, allocations: 4 kB / 466.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.6108, allocations: 4 kB / 466.9 MB, free: 13.38 MB / 346.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.0008073/0.6116, allocations: 0.6097 MB / 467.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.6117, allocations: 8.031 kB / 467.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.6118, allocations: 43.56 kB / 467.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.6122, allocations: 257.4 kB / 467.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.6123, allocations: 8 kB / 467.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.6123, allocations: 8 kB / 467.9 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.6127, allocations: 125.6 kB / 468 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.6128, allocations: 0 / 468 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.6128, allocations: 8 kB / 468 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.6128, allocations: 0 / 468 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.613, allocations: 55.98 kB / 468.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.6141, allocations: 476.4 kB / 468.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.6144, allocations: 94.55 kB / 468.6 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.6147, allocations: 80.91 kB / 468.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.6147, allocations: 112 / 468.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004152/0.6151, allocations: 210.6 kB / 468.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 4.648e-06/0.6151, allocations: 3.984 kB / 468.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.00101/0.6162, allocations: 404.1 kB / 469.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.6163, allocations: 166.2 kB / 469.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009925/0.6173, allocations: 466.5 kB / 469.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.275e-05/0.6174, allocations: 29.7 kB / 469.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6175, allocations: 163.5 kB / 470.1 MB, free: 9.934 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.6176, allocations: 31.66 kB / 470.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.6177, allocations: 4 kB / 470.1 MB, free: 9.898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.6178, allocations: 318.8 kB / 470.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.618, allocations: 52 kB / 470.5 MB, free: 9.527 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.6182, allocations: 57.25 kB / 470.6 MB, free: 9.473 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.6185, allocations: 174.6 kB / 470.7 MB, free: 9.277 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6185, allocations: 0 / 470.7 MB, free: 9.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008208/0.6193, allocations: 361 kB / 471.1 MB, free: 8.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.6195, allocations: 122.8 kB / 471.2 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.6195, allocations: 4 kB / 471.2 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.6195, allocations: 0 / 471.2 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.248e-05/0.6196, allocations: 8 kB / 471.2 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.6196, allocations: 0 / 471.2 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.6199, allocations: 11.98 kB / 471.2 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.62, allocations: 59.89 kB / 471.3 MB, free: 8.668 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.y,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 () * 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.0002575/0.6203, allocations: 249.9 kB / 471.5 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/0.6204, allocations: 39.53 kB / 471.6 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.6206, allocations: 67.44 kB / 471.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6206, allocations: 0 / 471.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6206, allocations: 4 kB / 471.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6206, allocations: 3.984 kB / 471.6 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.6221, allocations: 0.7939 MB / 472.4 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6222, allocations: 3.938 kB / 472.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-05/0.6222, allocations: 128 / 472.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.6222, allocations: 4 kB / 472.4 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.6223, allocations: 15.94 kB / 472.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6223, allocations: 0 / 472.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6223, allocations: 4 kB / 472.5 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009704/0.6233, allocations: 0.5212 MB / 473 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000588/0.6239, allocations: 244.5 kB / 473.2 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.715e-05/0.624, allocations: 4 kB / 473.2 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.6243, allocations: 23.92 kB / 473.2 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.6244, allocations: 19.97 kB / 473.3 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.6246, allocations: 67.92 kB / 473.3 MB, free: 6.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007849/0.6254, allocations: 384.9 kB / 473.7 MB, free: 6.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.6254, allocations: 0 / 473.7 MB, free: 6.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004206/0.6258, allocations: 43.95 kB / 473.8 MB, free: 6.027 MB / 346.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) * 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.0002141/0.626, allocations: 119 kB / 473.9 MB, free: 5.898 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007201/0.6268, allocations: 429.6 kB / 474.3 MB, free: 5.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6268, allocations: 0 / 474.3 MB, free: 5.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.6273, allocations: 377.5 kB / 474.7 MB, free: 5.012 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008654/0.6282, allocations: 102.9 kB / 474.8 MB, free: 4.906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.6297, allocations: 0.5639 MB / 475.3 MB, free: 4.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.6304, allocations: 0.8141 MB / 476.1 MB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.6304, allocations: 11.44 kB / 476.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6304, allocations: 0 / 476.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of Templates: time 0.007211/0.6376, allocations: 2.636 MB / 478.8 MB, free: 0.7617 MB / 346.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