Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001682/0.001683, allocations: 122.7 kB / 18.46 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001827/0.001827, allocations: 211.3 kB / 21.41 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 251.6 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2463/0.2463, allocations: 46.16 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002196, allocations: 77.48 kB / 490.2 MB, free: 27.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1653, allocations: 62.45 MB / 0.5397 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004034/0.1693, allocations: 2.12 MB / 0.5418 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1717, allocations: 1.379 MB / 0.5431 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1718, allocations: 4 kB / 0.5431 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.069e-05/0.1719, allocations: 23.67 kB / 0.5431 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.1721, allocations: 31.66 kB / 0.5432 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.1726, allocations: 195.2 kB / 0.5434 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.1729, allocations: 172.1 kB / 0.5435 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.1731, allocations: 111.3 kB / 0.5436 GB, free: 56 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.1733, allocations: 87.72 kB / 0.5437 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.1735, allocations: 91.48 kB / 0.5438 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.1735, allocations: 16 kB / 0.5438 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.1738, allocations: 151.9 kB / 0.544 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.1739, allocations: 51.83 kB / 0.544 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.174, allocations: 83.48 kB / 0.5441 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.1745, allocations: 330.3 kB / 0.5444 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1745, allocations: 0 / 0.5444 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1745, allocations: 0 / 0.5444 GB, free: 15.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1745, allocations: 0 / 0.5444 GB, free: 15.26 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000731/0.1752, allocations: 0.5259 MB / 0.5449 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1753, allocations: 12.03 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/0.1762, allocations: 80.73 kB / 0.545 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1765, allocations: 208.1 kB / 0.5452 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.1765, allocations: 24.88 kB / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.1766, allocations: 28.38 kB / 0.5453 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.177, allocations: 201.2 kB / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.177, allocations: 0 / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.177, allocations: 12 kB / 0.5455 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.1771, allocations: 11.98 kB / 0.5455 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.1774, allocations: 150.2 kB / 0.5456 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.1784, allocations: 0.589 MB / 0.5462 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.179, allocations: 227.4 kB / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.1791, allocations: 69.3 kB / 0.5465 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.1792, allocations: 8.172 kB / 0.5465 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.1792, allocations: 38.8 kB / 0.5465 GB, free: 12.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.1792, allocations: 0 / 0.5465 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004979/0.1797, allocations: 217.7 kB / 0.5467 GB, free: 12.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.1798, allocations: 63.28 kB / 0.5468 GB, free: 12.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1799, allocations: 105.8 kB / 0.5469 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.1799, allocations: 29.7 kB / 0.5469 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.18, allocations: 136.7 kB / 0.547 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.406e-05/0.1801, allocations: 95.17 kB / 0.5471 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.1802, allocations: 41.7 kB / 0.5472 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1804, allocations: 326.8 kB / 0.5475 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.1805, allocations: 39.98 kB / 0.5475 GB, free: 11.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-05/0.1806, allocations: 48.89 kB / 0.5476 GB, free: 11.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.1808, allocations: 113.3 kB / 0.5477 GB, free: 11.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1808, allocations: 0 / 0.5477 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002878/0.1811, allocations: 169.5 kB / 0.5478 GB, free: 11.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1811, allocations: 12 kB / 0.5478 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1812, allocations: 0 / 0.5478 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1812, allocations: 0 / 0.5478 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.1816, allocations: 99.89 kB / 0.5479 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1816, allocations: 0 / 0.5479 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.1816, allocations: 15.94 kB / 0.548 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1817, allocations: 12 kB / 0.548 GB, free: 11.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.0001307/0.1818, allocations: 129.7 kB / 0.5481 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.1818, allocations: 19.84 kB / 0.5481 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.076e-05/0.1819, allocations: 21.53 kB / 0.5481 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1819, allocations: 4 kB / 0.5481 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1819, allocations: 0 / 0.5481 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.182, allocations: 3.984 kB / 0.5481 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.1823, allocations: 261.5 kB / 0.5484 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1823, allocations: 3.938 kB / 0.5484 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.1827, allocations: 107.9 kB / 0.5485 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1827, allocations: 4 kB / 0.5485 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1827, allocations: 4.25 kB / 0.5485 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.1827, allocations: 4 kB / 0.5485 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1827, allocations: 0 / 0.5485 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.1831, allocations: 279.6 kB / 0.5488 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.1831, allocations: 96.89 kB / 0.5489 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1832, allocations: 4 kB / 0.5489 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.1833, allocations: 7.984 kB / 0.5489 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.1833, allocations: 19.92 kB / 0.5489 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.1833, allocations: 4 kB / 0.5489 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.53e-05/0.1834, allocations: 83.28 kB / 0.549 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1834, allocations: 3.938 kB / 0.549 GB, free: 10.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1837, allocations: 59.81 kB / 0.549 GB, free: 10.18 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.0001473/0.1838, allocations: 99.19 kB / 0.5491 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.1841, allocations: 123.9 kB / 0.5493 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1841, allocations: 0 / 0.5493 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.1843, allocations: 83.83 kB / 0.5493 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.1845, allocations: 15.92 kB / 0.5494 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008066/0.1853, allocations: 463.7 kB / 0.5498 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.1858, allocations: 0.7396 MB / 0.5505 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001/0.1859, allocations: 21.41 kB / 0.5505 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.1859, allocations: 19.44 kB / 0.5506 GB, free: 8.566 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1859, allocations: 0 / 0.5506 GB, free: 8.566 MB / 414.1 MB Notification: Performance of Templates: time 0.004025/0.19, allocations: 0.9559 MB / 0.5515 GB, free: 7.613 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.407942282967269]