Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 105.5 kB / 17.15 MB, free: 6.328 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.00133/0.00133, allocations: 198 kB / 18.07 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.1 MB / 223.9 MB, free: 12.41 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.002199/0.002199, allocations: 47.94 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1678, allocations: 46.63 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.004125/0.172, allocations: 1.554 MB / 328.1 MB, free: 3.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.1746, allocations: 0.9179 MB / 329.1 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.1747, allocations: 0 / 329.1 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.1749, allocations: 7.922 kB / 329.1 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.1751, allocations: 15.92 kB / 329.1 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.1754, allocations: 43.89 kB / 329.1 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1756, allocations: 107.8 kB / 329.2 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.1758, allocations: 20.23 kB / 329.3 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007498/0.1766, allocations: 0.5615 MB / 329.8 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1767, allocations: 67.64 kB / 329.9 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.1768, allocations: 4 kB / 329.9 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.399e-05/0.1768, allocations: 4 kB / 329.9 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.177, allocations: 63.77 kB / 330 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.1771, allocations: 119.1 kB / 330.1 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.1776, allocations: 354.7 kB / 330.4 MB, free: 1.035 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1776, allocations: 0 / 330.4 MB, free: 1.035 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1776, allocations: 0 / 330.4 MB, free: 1.035 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1776, allocations: 4 kB / 330.4 MB, free: 1.031 MB / 270.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.001071/0.1787, allocations: 0.7269 MB / 331.1 MB, free: 236 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.1787, allocations: 12.03 kB / 331.2 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.413e-05/0.1789, allocations: 32.56 kB / 331.2 MB, free: 192 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.1792, allocations: 274.3 kB / 331.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.1793, allocations: 4.375 kB / 331.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1793, allocations: 8.375 kB / 331.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.1796, allocations: 129.9 kB / 331.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1797, allocations: 3.938 kB / 331.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.1797, allocations: 15.98 kB / 331.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1797, allocations: 0 / 331.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.1799, allocations: 59.97 kB / 331.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008588/0.1808, allocations: 456.5 kB / 332.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.181, allocations: 94.53 kB / 332.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.1812, allocations: 88.89 kB / 332.3 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.1812, allocations: 0 / 332.3 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005364/0.1817, allocations: 210.8 kB / 332.5 MB, free: 14.74 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.1818, allocations: 0 / 332.5 MB, free: 14.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009629/0.1827, allocations: 480.3 kB / 333 MB, free: 14.24 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.1829, allocations: 170.2 kB / 333.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.1836, allocations: 0.513 MB / 333.7 MB, free: 13.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.1837, allocations: 29.7 kB / 333.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.434e-05/0.1838, allocations: 101 kB / 333.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.1838, allocations: 31.59 kB / 333.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.1839, allocations: 89.41 kB / 333.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.1842, allocations: 322.8 kB / 334.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1843, allocations: 55.97 kB / 334.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1845, allocations: 73.69 kB / 334.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.1849, allocations: 347.3 kB / 334.7 MB, free: 12.4 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1849, allocations: 0 / 334.7 MB, free: 12.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005598/0.1855, allocations: 396.2 kB / 335.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.1856, allocations: 118.8 kB / 335.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1856, allocations: 0 / 335.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.1856, allocations: 4.109 kB / 335.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.098e-05/0.1857, allocations: 3.938 kB / 335.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1857, allocations: 0 / 335.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.1859, allocations: 19.92 kB / 335.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-05/0.186, allocations: 63.94 kB / 335.3 MB, free: 11.75 MB / 286.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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0003889/0.1864, allocations: 370.8 kB / 335.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.1864, allocations: 35.62 kB / 335.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1865, allocations: 63.14 kB / 335.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1865, allocations: 0 / 335.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.1866, allocations: 7.984 kB / 335.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1866, allocations: 0 / 335.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.1876, allocations: 0.8212 MB / 336.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1877, allocations: 0 / 336.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-06/0.1877, allocations: 4 kB / 336.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1877, allocations: 0 / 336.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.1877, allocations: 11.98 kB / 336.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1877, allocations: 7.938 kB / 336.6 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1878, allocations: 7.875 kB / 336.6 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.1885, allocations: 0.5291 MB / 337.1 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.1889, allocations: 248.5 kB / 337.4 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.61e-05/0.189, allocations: 12 kB / 337.4 MB, free: 9.469 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1891, allocations: 11.94 kB / 337.4 MB, free: 9.457 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.1893, allocations: 31.91 kB / 337.4 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/0.1894, allocations: 63.92 kB / 337.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005349/0.1899, allocations: 378.9 kB / 337.9 MB, free: 8.996 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1899, allocations: 0 / 337.9 MB, free: 8.996 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.1902, allocations: 51.91 kB / 337.9 MB, free: 8.945 MB / 286.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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0002042/0.1905, allocations: 121.8 kB / 338 MB, free: 8.816 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006535/0.1911, allocations: 437.5 kB / 338.5 MB, free: 8.34 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1911, allocations: 4 kB / 338.5 MB, free: 8.336 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.1915, allocations: 373.6 kB / 338.8 MB, free: 7.922 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.1922, allocations: 97.47 kB / 338.9 MB, free: 7.824 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1938, allocations: 0.7686 MB / 339.7 MB, free: 7.031 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.1945, allocations: 0.7986 MB / 340.5 MB, free: 6.207 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.958e-05/0.1946, allocations: 12.64 kB / 340.5 MB, free: 6.195 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.1946, allocations: 11.44 kB / 340.5 MB, free: 6.184 MB / 286.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1946, allocations: 0 / 340.5 MB, free: 6.184 MB / 286.1 MB Notification: Performance of Templates: time 0.01024/0.2048, allocations: 4.391 MB / 344.9 MB, free: 1.703 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches