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.001865/0.001865, allocations: 108.4 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002364/0.002365, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.791/1.791, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2451, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002744/0.2479, allocations: 1.503 MB / 411.4 MB, free: 72 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.2498, allocations: 0.8951 MB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.2499, allocations: 0 / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.067e-05/0.25, allocations: 7.922 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.801e-05/0.2501, allocations: 15.86 kB / 412.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.2504, allocations: 47.89 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.2506, allocations: 147.7 kB / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2507, allocations: 24.22 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000579/0.2513, allocations: 0.5732 MB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.2514, allocations: 71.7 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.2515, allocations: 8 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.809e-05/0.2515, allocations: 12 kB / 413.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.2517, allocations: 67.75 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.2518, allocations: 123.1 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.2522, allocations: 370.7 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2522, allocations: 0 / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2522, allocations: 0 / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2522, allocations: 0 / 413.8 MB, free: 13.71 MB / 334.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.0008093/0.253, allocations: 0.7199 MB / 414.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2531, allocations: 8.031 kB / 414.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.2532, allocations: 36.56 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.2535, allocations: 278.3 kB / 414.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.2535, allocations: 8.375 kB / 414.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.2535, allocations: 12.38 kB / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.2539, allocations: 129.9 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2539, allocations: 0 / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.2539, allocations: 4 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2539, allocations: 3.938 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.2541, allocations: 63.89 kB / 415 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.2548, allocations: 464.4 kB / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.255, allocations: 102.5 kB / 415.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.2551, allocations: 84.88 kB / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.2551, allocations: 3.984 kB / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/0.2555, allocations: 206.6 kB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.2555, allocations: 0 / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008185/0.2563, allocations: 471.9 kB / 416.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.784e-05/0.2565, allocations: 174.2 kB / 416.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006434/0.2571, allocations: 0.513 MB / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.2571, allocations: 29.7 kB / 417 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.2572, allocations: 105.1 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.2573, allocations: 23.72 kB / 417.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.2574, allocations: 81.33 kB / 417.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2576, allocations: 326.8 kB / 417.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.2577, allocations: 59.97 kB / 417.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2579, allocations: 77.67 kB / 417.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.2582, allocations: 346.7 kB / 418 MB, free: 9.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2582, allocations: 0 / 418 MB, free: 9.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005356/0.2588, allocations: 384.5 kB / 418.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/0.2588, allocations: 126.8 kB / 418.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2589, allocations: 0 / 418.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2589, allocations: 0 / 418.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.035e-05/0.2589, allocations: 11.97 kB / 418.5 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.2589, allocations: 0 / 418.5 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.259, allocations: 19.92 kB / 418.6 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/0.2591, allocations: 55.94 kB / 418.6 MB, free: 8.438 MB / 334.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.0003069/0.2594, allocations: 378.8 kB / 419 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.2595, allocations: 39.53 kB / 419 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.846e-05/0.2596, allocations: 63.16 kB / 419.1 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2596, allocations: 0 / 419.1 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2596, allocations: 4 kB / 419.1 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2596, allocations: 3.984 kB / 419.1 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009336/0.2606, allocations: 0.8173 MB / 419.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2606, allocations: 112 / 419.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-06/0.2606, allocations: 3.938 kB / 419.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2606, allocations: 0 / 419.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.2606, allocations: 16 kB / 419.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2606, allocations: 0 / 419.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2606, allocations: 3.938 kB / 419.9 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.2613, allocations: 0.5369 MB / 420.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.2616, allocations: 244.4 kB / 420.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.2617, allocations: 12 kB / 420.7 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.2618, allocations: 11.98 kB / 420.7 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.2619, allocations: 31.91 kB / 420.8 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.655e-05/0.262, allocations: 55.94 kB / 420.8 MB, free: 6.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004473/0.2624, allocations: 386.9 kB / 421.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2624, allocations: 0 / 421.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.2627, allocations: 47.98 kB / 421.2 MB, free: 5.633 MB / 334.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.0001341/0.2629, allocations: 115.1 kB / 421.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005145/0.2634, allocations: 441.5 kB / 421.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2634, allocations: 0 / 421.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.2637, allocations: 377.5 kB / 422.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.2644, allocations: 125.7 kB / 422.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.2655, allocations: 0.7022 MB / 423 MB, free: 3.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.2659, allocations: 0.7983 MB / 423.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.2659, allocations: 11.44 kB / 423.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2659, allocations: 0 / 423.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of Templates: time 0.004439/0.2704, allocations: 2.696 MB / 426.5 MB, free: 192 kB / 334.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