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.001721/0.001721, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.478/3.478, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.001215/0.001215, allocations: 89.42 kB / 271.9 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000788/0.0007889, allocations: 12 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6933/0.6942, allocations: 47.56 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.9127, allocations: 81.4 MB / 457.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005138/0.9134, allocations: 71.97 kB / 457.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06097/0.9744, allocations: 16.42 MB / 473.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.9745, allocations: 4 kB / 473.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.9745, allocations: 4 kB / 473.6 MB, free: 14.77 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.001401/0.9759, allocations: 0.6645 MB / 474.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.82e-05/0.976, allocations: 12.03 kB / 474.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.9761, allocations: 32.56 kB / 474.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.9767, allocations: 270.3 kB / 474.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.9768, allocations: 12.36 kB / 474.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.9769, allocations: 12.31 kB / 474.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.9774, allocations: 130.1 kB / 474.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.9774, allocations: 192 / 474.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.9775, allocations: 7.938 kB / 474.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.9775, allocations: 4 kB / 474.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.9778, allocations: 63.91 kB / 474.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.9791, allocations: 460.5 kB / 475.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.9794, allocations: 94.55 kB / 475.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.9797, allocations: 84.83 kB / 475.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.9797, allocations: 4 kB / 475.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000609/0.9804, allocations: 202.7 kB / 475.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.574e-06/0.9804, allocations: 0 / 475.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001554/0.982, allocations: 484 kB / 476.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/0.9822, allocations: 170.1 kB / 476.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.9834, allocations: 0.513 MB / 476.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.9835, allocations: 29.7 kB / 476.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.9836, allocations: 101.1 kB / 476.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/0.9837, allocations: 23.72 kB / 476.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.9837, allocations: 8 kB / 477 MB, free: 11.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003384/0.9841, allocations: 322.8 kB / 477.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.9843, allocations: 55.97 kB / 477.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.9846, allocations: 77.67 kB / 477.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006769/0.9853, allocations: 343.2 kB / 477.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.9853, allocations: 4 kB / 477.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001127/0.9864, allocations: 396.4 kB / 478.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.9867, allocations: 122.8 kB / 478.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.9867, allocations: 3.984 kB / 478.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/0.9868, allocations: 0 / 478.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.13e-05/0.9868, allocations: 4 kB / 478.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.9868, allocations: 0 / 478.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.9871, allocations: 8.109 kB / 478.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.9873, allocations: 71.8 kB / 478.3 MB, free: 9.641 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.0007406/0.988, allocations: 370.9 kB / 478.7 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.9882, allocations: 43.53 kB / 478.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.9884, allocations: 63.14 kB / 478.8 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.9884, allocations: 0 / 478.8 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.9884, allocations: 0 / 478.8 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.9884, allocations: 4 kB / 478.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.9903, allocations: 0.8212 MB / 479.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.9903, allocations: 4 kB / 479.6 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-06/0.9903, allocations: 0 / 479.6 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.9903, allocations: 0 / 479.6 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.9904, allocations: 15.98 kB / 479.6 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.9904, allocations: 0 / 479.6 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.9904, allocations: 0 / 479.6 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.9918, allocations: 0.5369 MB / 480.2 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007261/0.9926, allocations: 244.4 kB / 480.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.9928, allocations: 12 kB / 480.4 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.993, allocations: 15.98 kB / 480.4 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.9933, allocations: 27.97 kB / 480.5 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.9934, allocations: 59.88 kB / 480.5 MB, free: 7.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001038/0.9945, allocations: 390.8 kB / 480.9 MB, free: 6.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.9945, allocations: 0 / 480.9 MB, free: 6.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005534/0.9951, allocations: 48 kB / 481 MB, free: 6.84 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.0003554/0.9954, allocations: 115.1 kB / 481.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.997, allocations: 445.5 kB / 481.5 MB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.997, allocations: 0 / 481.5 MB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007977/0.9978, allocations: 373.6 kB / 481.9 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.9989, allocations: 103 kB / 482 MB, free: 5.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/1.001, allocations: 0.7809 MB / 482.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/1.003, allocations: 0.8023 MB / 483.6 MB, free: 4.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/1.003, allocations: 11.44 kB / 483.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/1.003, allocations: 4 kB / 483.6 MB, free: 4.07 MB / 362.7 MB Notification: Performance of Templates: time 0.009585/1.012, allocations: 2.659 MB / 486.2 MB, free: 1.352 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