Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 190.4 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 102.2 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.9683/0.9683, allocations: 119.3 MB / 460.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 55.92 kB / 0.5391 GB, free: 43.14 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1659, allocations: 80.69 MB / 0.6179 GB, free: 12.73 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.003087/0.169, allocations: 1.641 MB / 0.6195 GB, free: 11.07 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1704, allocations: 0.877 MB / 0.6204 GB, free: 10.19 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.1705, allocations: 0 / 0.6204 GB, free: 10.19 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008771/0.1714, allocations: 0.9005 MB / 0.6213 GB, free: 9.285 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005624/0.172, allocations: 0.5146 MB / 0.6218 GB, free: 8.77 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.1722, allocations: 87.78 kB / 0.6218 GB, free: 8.684 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008747/0.1731, allocations: 1.155 MB / 0.623 GB, free: 7.527 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.804e-05/0.1732, allocations: 7.984 kB / 0.623 GB, free: 7.52 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005236/0.1737, allocations: 0.577 MB / 0.6235 GB, free: 6.941 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000807/0.1745, allocations: 0.9866 MB / 0.6245 GB, free: 5.953 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.1747, allocations: 67.94 kB / 0.6246 GB, free: 5.887 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.1749, allocations: 84 kB / 0.6246 GB, free: 5.805 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002362/0.1773, allocations: 2.517 MB / 0.6271 GB, free: 3.281 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.1784, allocations: 1.431 MB / 0.6285 GB, free: 1.836 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.181, allocations: 3.042 MB / 0.6315 GB, free: 14.78 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.181, allocations: 0 / 0.6315 GB, free: 14.78 MB / 458.8 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1811, allocations: 0 / 0.6315 GB, free: 14.78 MB / 458.8 MB Notification: Performance of Transformations before backend: time 5.732e-05/0.1811, allocations: 0 / 0.6315 GB, free: 14.78 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00678/0.1879, allocations: 5.179 MB / 0.6365 GB, free: 9.508 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.37e-05/0.188, allocations: 12.03 kB / 0.6365 GB, free: 9.496 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.1892, allocations: 0.5599 MB / 0.6371 GB, free: 8.93 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/0.2013, allocations: 6.551 MB / 0.6435 GB, free: 2.297 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.2014, allocations: 384 / 0.6435 GB, free: 2.297 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.2014, allocations: 12.06 kB / 0.6435 GB, free: 2.285 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.2016, allocations: 49.67 kB / 0.6435 GB, free: 2.23 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2016, allocations: 0 / 0.6435 GB, free: 2.23 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.2016, allocations: 0 / 0.6435 GB, free: 2.23 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2017, allocations: 7.984 kB / 0.6436 GB, free: 2.223 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.121e-05/0.2017, allocations: 19.98 kB / 0.6436 GB, free: 2.203 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.2039, allocations: 1.851 MB / 0.6454 GB, free: 312 kB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.2041, allocations: 54.56 kB / 0.6454 GB, free: 248 kB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.2042, allocations: 24.78 kB / 0.6455 GB, free: 220 kB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.2042, allocations: 0 / 0.6455 GB, free: 220 kB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.2045, allocations: 71.39 kB / 0.6455 GB, free: 136 kB / 458.8 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.2045, allocations: 0 / 0.6455 GB, free: 136 kB / 458.8 MB Notification: Performance of matching and sorting (n=5): time 0.001014/0.2055, allocations: 0.6506 MB / 0.6462 GB, free: 15.46 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.2056, allocations: 59.34 kB / 0.6462 GB, free: 15.39 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007601/0.2132, allocations: 6.439 MB / 0.6525 GB, free: 9 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.2132, allocations: 25.7 kB / 0.6525 GB, free: 8.969 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/0.2155, allocations: 2.668 MB / 0.6551 GB, free: 6.297 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.2156, allocations: 11.8 kB / 0.6551 GB, free: 6.285 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.2157, allocations: 29.7 kB / 0.6552 GB, free: 6.25 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2158, allocations: 310 kB / 0.6555 GB, free: 5.941 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.2159, allocations: 12 kB / 0.6555 GB, free: 5.93 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.817e-05/0.2159, allocations: 25.7 kB / 0.6555 GB, free: 5.898 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.2161, allocations: 49.95 kB / 0.6555 GB, free: 5.844 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2161, allocations: 4 kB / 0.6556 GB, free: 5.84 MB / 474.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001074/0.2171, allocations: 0.6425 MB / 0.6562 GB, free: 5.184 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.2172, allocations: 8 kB / 0.6562 GB, free: 5.176 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2172, allocations: 0 / 0.6562 GB, free: 5.176 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2172, allocations: 0 / 0.6562 GB, free: 5.176 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.2173, allocations: 11.98 kB / 0.6562 GB, free: 5.164 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.2173, allocations: 7.938 kB / 0.6562 GB, free: 5.156 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.2179, allocations: 23.88 kB / 0.6562 GB, free: 5.133 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2179, allocations: 8 kB / 0.6562 GB, free: 5.125 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.001714/0.2196, allocations: 1.278 MB / 0.6575 GB, free: 3.836 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006367/0.2202, allocations: 0.5941 MB / 0.6581 GB, free: 3.234 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008435/0.2211, allocations: 0.6481 MB / 0.6587 GB, free: 2.586 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.2211, allocations: 4 kB / 0.6587 GB, free: 2.582 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2211, allocations: 0 / 0.6587 GB, free: 2.582 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2211, allocations: 0 / 0.6587 GB, free: 2.582 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.2231, allocations: 2.027 MB / 0.6607 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2231, allocations: 0 / 0.6607 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.2232, allocations: 4 kB / 0.6607 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2232, allocations: 0 / 0.6607 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.2232, allocations: 12 kB / 0.6607 GB, free: 0.4922 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2232, allocations: 0 / 0.6607 GB, free: 0.4922 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2232, allocations: 0 / 0.6607 GB, free: 0.4922 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.2255, allocations: 2.665 MB / 0.6633 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007605/0.2263, allocations: 0.5132 MB / 0.6638 GB, free: 13.21 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.2265, allocations: 16 kB / 0.6638 GB, free: 13.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.2268, allocations: 27.98 kB / 0.6638 GB, free: 13.17 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.2269, allocations: 4 kB / 0.6638 GB, free: 13.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.2269, allocations: 3.938 kB / 0.6639 GB, free: 13.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005965/0.2329, allocations: 4.42 MB / 0.6682 GB, free: 8.785 MB / 490.8 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2329, allocations: 0 / 0.6682 GB, free: 8.785 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0008913/0.2338, allocations: 172 kB / 0.6683 GB, free: 8.617 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001053/0.2348, allocations: 410.7 kB / 0.6687 GB, free: 8.367 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.2351, allocations: 47.98 kB / 0.6688 GB, free: 8.32 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2352, allocations: 0 / 0.6688 GB, free: 8.32 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 7.34e-05/0.2352, allocations: 23.92 kB / 0.6688 GB, free: 8.297 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.2369, allocations: 460.5 kB / 0.6692 GB, free: 7.848 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.2515, allocations: 9.643 MB / 0.6786 GB, free: 14.15 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003156/0.2547, allocations: 2.737 MB / 0.6813 GB, free: 11.39 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.004324/0.2591, allocations: 1.414 MB / 0.6827 GB, free: 9.965 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.2603, allocations: 0.5655 MB / 0.6833 GB, free: 9.398 MB / 0.4949 GB Notification: Performance of SimCode: time 9.52e-07/0.2604, allocations: 0 / 0.6833 GB, free: 9.398 MB / 0.4949 GB Notification: Performance of Templates: time 0.5523/0.8127, allocations: 15.56 MB / 0.6985 GB, free: 73.57 MB / 0.495 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches