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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 187 kB / 17.92 MB, free: 3.855 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.176/1.176, allocations: 205.1 MB / 223.8 MB, free: 8.477 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.0008962/0.0008964, allocations: 103.7 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008058/0.0008059, allocations: 39.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1808, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00216/0.183, allocations: 1.56 MB / 375.4 MB, free: 44.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1845, allocations: 0.9122 MB / 376.3 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.1845, allocations: 1.656 kB / 376.3 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.423e-05/0.1846, allocations: 7.922 kB / 376.3 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.1847, allocations: 20.12 kB / 376.3 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.1849, allocations: 39.03 kB / 376.4 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.185, allocations: 106.9 kB / 376.5 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.1851, allocations: 21.28 kB / 376.5 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/0.1855, allocations: 0.5582 MB / 377 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.128e-05/0.1856, allocations: 72.16 kB / 377.1 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.1857, allocations: 4.781 kB / 377.1 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.035e-05/0.1857, allocations: 8.062 kB / 377.1 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.1858, allocations: 61.95 kB / 377.2 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.1859, allocations: 115.8 kB / 377.3 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1861, allocations: 357.9 kB / 377.6 MB, free: 43.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1861, allocations: 0 / 377.6 MB, free: 43.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1861, allocations: 1.094 kB / 377.6 MB, free: 43.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1862, allocations: 4 kB / 377.7 MB, free: 43.11 MB / 298.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.0004947/0.1867, allocations: 0.7186 MB / 378.4 MB, free: 42.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.1867, allocations: 8.812 kB / 378.4 MB, free: 42.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.1868, allocations: 39.16 kB / 378.4 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.187, allocations: 274 kB / 378.7 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.187, allocations: 9.203 kB / 378.7 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.187, allocations: 12.12 kB / 378.7 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.1873, allocations: 128.8 kB / 378.8 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1873, allocations: 1.062 kB / 378.8 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1873, allocations: 7.531 kB / 378.8 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1873, allocations: 5.188 kB / 378.8 MB, free: 42.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.1874, allocations: 56.88 kB / 378.9 MB, free: 42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.188, allocations: 464.3 kB / 379.4 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1881, allocations: 92.2 kB / 379.4 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.1883, allocations: 89.11 kB / 379.5 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.1883, allocations: 1.188 kB / 379.5 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.1885, allocations: 215.2 kB / 379.7 MB, free: 41.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1885, allocations: 0 / 379.7 MB, free: 41.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006672/0.1892, allocations: 480.5 kB / 380.2 MB, free: 41.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.1893, allocations: 165.1 kB / 380.4 MB, free: 40.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/0.1898, allocations: 0.5233 MB / 380.9 MB, free: 40.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1898, allocations: 29.86 kB / 380.9 MB, free: 40.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.1898, allocations: 93.61 kB / 381 MB, free: 40.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1899, allocations: 34.08 kB / 381 MB, free: 40.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.19, allocations: 84.02 kB / 381.1 MB, free: 40.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.19, allocations: 325.4 kB / 381.4 MB, free: 39.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1901, allocations: 55.44 kB / 381.5 MB, free: 39.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.1902, allocations: 84.36 kB / 381.6 MB, free: 39.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.1905, allocations: 338.4 kB / 381.9 MB, free: 39.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1905, allocations: 5.156 kB / 381.9 MB, free: 39.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000425/0.1909, allocations: 386.4 kB / 382.3 MB, free: 39.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.191, allocations: 126.8 kB / 382.4 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.191, allocations: 0 / 382.4 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.191, allocations: 1.188 kB / 382.4 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.658e-05/0.191, allocations: 1.031 kB / 382.4 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.191, allocations: 1.328 kB / 382.4 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.1912, allocations: 23.88 kB / 382.4 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.1912, allocations: 65.98 kB / 382.5 MB, free: 39.13 MB / 298.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,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.0002185/0.1915, allocations: 361.6 kB / 382.9 MB, free: 38.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.1915, allocations: 39.06 kB / 382.9 MB, free: 38.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.616e-05/0.1916, allocations: 58.97 kB / 383 MB, free: 38.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1916, allocations: 1.344 kB / 383 MB, free: 38.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1916, allocations: 0 / 383 MB, free: 38.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1916, allocations: 1.406 kB / 383 MB, free: 38.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.1923, allocations: 0.8265 MB / 383.8 MB, free: 38.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1924, allocations: 1.344 kB / 383.8 MB, free: 38.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-06/0.1924, allocations: 3.938 kB / 383.8 MB, free: 38.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1924, allocations: 5.391 kB / 383.8 MB, free: 38.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.1924, allocations: 10.47 kB / 383.8 MB, free: 38.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1924, allocations: 0 / 383.8 MB, free: 38.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1924, allocations: 3.938 kB / 383.8 MB, free: 38.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.1932, allocations: 1.209 MB / 385 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.1935, allocations: 246 kB / 385.3 MB, free: 36.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.1936, allocations: 10.66 kB / 385.3 MB, free: 36.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1937, allocations: 7.75 kB / 385.3 MB, free: 36.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.1938, allocations: 27.62 kB / 385.3 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.1939, allocations: 60.61 kB / 385.4 MB, free: 36.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003495/0.1942, allocations: 386 kB / 385.7 MB, free: 36.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1942, allocations: 4 kB / 385.7 MB, free: 36.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003485/0.1946, allocations: 41.28 kB / 385.8 MB, free: 36.56 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.265e-05/0.1947, allocations: 112.7 kB / 385.9 MB, free: 36.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003784/0.1951, allocations: 438.8 kB / 386.3 MB, free: 36.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1951, allocations: 0 / 386.3 MB, free: 36.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.1953, allocations: 376.3 kB / 386.7 MB, free: 35.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.1958, allocations: 112.7 kB / 386.8 MB, free: 35.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.1967, allocations: 0.909 MB / 387.7 MB, free: 34.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.1969, allocations: 0.8025 MB / 388.5 MB, free: 34.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.846e-05/0.1969, allocations: 8.641 kB / 388.5 MB, free: 34.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.24e-05/0.1969, allocations: 11.44 kB / 388.5 MB, free: 34 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.1969, allocations: 0 / 388.5 MB, free: 34 MB / 298.7 MB Notification: Performance of Templates: time 0.004986/0.2019, allocations: 4.529 MB / 393.1 MB, free: 29.39 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches