Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 110.4 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 51.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1885, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00389/0.1925, allocations: 1.501 MB / 376.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.1954, allocations: 0.9058 MB / 377.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.1955, allocations: 0 / 377.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.1957, allocations: 7.922 kB / 377.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.1958, allocations: 15.88 kB / 377.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.1962, allocations: 51.88 kB / 377.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.1964, allocations: 143.7 kB / 377.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1966, allocations: 20.22 kB / 377.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008177/0.1974, allocations: 0.5693 MB / 378.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.1976, allocations: 79.62 kB / 378.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.1977, allocations: 12 kB / 378.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.835e-05/0.1978, allocations: 8 kB / 378.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.1979, allocations: 59.77 kB / 378.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.1981, allocations: 115.1 kB / 378.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004953/0.1986, allocations: 370.7 kB / 379 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1986, allocations: 4 kB / 379 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1987, allocations: 0 / 379 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.026e-06/0.1987, allocations: 4 kB / 379 MB, free: 0.707 MB / 318.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.3938/0.5925, allocations: 0.7186 MB / 379.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.43e-05/0.5926, allocations: 9.625 kB / 379.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.5927, allocations: 38.34 kB / 379.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.5932, allocations: 273.9 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.5932, allocations: 4.5 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.5933, allocations: 9.812 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.5938, allocations: 130.2 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5938, allocations: 1.375 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.5939, allocations: 7.484 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.5939, allocations: 1.375 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.5941, allocations: 58.44 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.5952, allocations: 464 kB / 380.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.5954, allocations: 98.16 kB / 380.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.5957, allocations: 86.39 kB / 380.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.5957, allocations: 0 / 380.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005788/0.5963, allocations: 205.6 kB / 381.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.5963, allocations: 3.375 kB / 381.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001107/0.5974, allocations: 481.1 kB / 381.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/0.5975, allocations: 169.2 kB / 381.7 MB, free: 12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.5987, allocations: 0.5132 MB / 382.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.5987, allocations: 32.64 kB / 382.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.5988, allocations: 97.77 kB / 382.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.5989, allocations: 33.75 kB / 382.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.5991, allocations: 87.72 kB / 382.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.5992, allocations: 326.5 kB / 382.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.5994, allocations: 58.12 kB / 382.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.5997, allocations: 76.66 kB / 382.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.6001, allocations: 343.8 kB / 383.2 MB, free: 11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6001, allocations: 2.562 kB / 383.2 MB, free: 11 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007921/0.601, allocations: 383.1 kB / 383.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.6011, allocations: 128.9 kB / 383.7 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.6011, allocations: 4.281 kB / 383.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.6011, allocations: 0.875 kB / 383.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.717e-05/0.6012, allocations: 1.062 kB / 383.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6012, allocations: 5.031 kB / 383.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.6014, allocations: 10.84 kB / 383.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.6015, allocations: 58.62 kB / 383.8 MB, free: 10.64 MB / 318.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.0004286/0.602, allocations: 369.1 kB / 384.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.6021, allocations: 43.86 kB / 384.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.6022, allocations: 63.48 kB / 384.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6022, allocations: 1.828 kB / 384.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.6023, allocations: 3.344 kB / 384.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.6023, allocations: 0.75 kB / 384.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.6036, allocations: 0.8178 MB / 385.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.6036, allocations: 2.062 kB / 385.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-06/0.6037, allocations: 5.125 kB / 385.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.6037, allocations: 1.5 kB / 385.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.6037, allocations: 20.45 kB / 385.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.6037, allocations: 1.344 kB / 385.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6038, allocations: 1.078 kB / 385.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.6046, allocations: 0.527 MB / 385.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/0.6051, allocations: 253.5 kB / 385.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/0.6052, allocations: 12.58 kB / 385.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.6053, allocations: 13.66 kB / 385.9 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.6055, allocations: 26.52 kB / 386 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.6056, allocations: 62.48 kB / 386 MB, free: 9.148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006774/0.6063, allocations: 386.8 kB / 386.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6063, allocations: 0 / 386.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000436/0.6068, allocations: 45.38 kB / 386.5 MB, free: 8.941 MB / 318.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.0001788/0.607, allocations: 119.1 kB / 386.6 MB, free: 8.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007106/0.6077, allocations: 436.4 kB / 387 MB, free: 8.508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6077, allocations: 4.062 kB / 387 MB, free: 8.504 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.6081, allocations: 383.3 kB / 387.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/0.6091, allocations: 123.4 kB / 387.5 MB, free: 8.133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.6108, allocations: 0.6499 MB / 388.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/0.6115, allocations: 0.8064 MB / 389 MB, free: 7.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.745e-05/0.6116, allocations: 10.47 kB / 389 MB, free: 7.012 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.6116, allocations: 11.81 kB / 389 MB, free: 7.004 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6116, allocations: 0 / 389 MB, free: 7.004 MB / 318.1 MB Notification: Performance of Templates: time 0.01511/0.6268, allocations: 4.67 MB / 393.6 MB, free: 6.449 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches