Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001552, allocations: 112.7 kB / 17.06 MB, free: 6.012 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.00165/0.00165, allocations: 196.6 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.29/1.29, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 58.81 kB / 0.5709 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.167, allocations: 80.7 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002531/0.1696, allocations: 1.41 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1706, allocations: 0.5691 MB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.1707, allocations: 0 / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004842/0.1712, allocations: 447.1 kB / 0.6521 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005641/0.1718, allocations: 498.9 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1721, allocations: 79.78 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.1731, allocations: 1.131 MB / 0.6537 GB, free: 8.934 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.1731, allocations: 3.984 kB / 0.6537 GB, free: 8.93 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005992/0.1738, allocations: 0.5615 MB / 0.6543 GB, free: 8.367 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.175, allocations: 1.03 MB / 0.6553 GB, free: 7.336 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.1751, allocations: 68 kB / 0.6554 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.1754, allocations: 143.9 kB / 0.6555 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002721/0.1781, allocations: 2.497 MB / 0.6579 GB, free: 4.625 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.1796, allocations: 1.435 MB / 0.6593 GB, free: 3.176 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.003126/0.1827, allocations: 3.193 MB / 0.6625 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1827, allocations: 0 / 0.6625 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1828, allocations: 0 / 0.6625 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.715e-05/0.1828, allocations: 0 / 0.6625 GB, free: 15.96 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.006034/0.1888, allocations: 5.384 MB / 0.6677 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1889, allocations: 8.031 kB / 0.6677 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000711/0.1896, allocations: 0.5907 MB / 0.6683 GB, free: 9.875 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.1998, allocations: 6.619 MB / 0.6748 GB, free: 3.184 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1999, allocations: 384 / 0.6748 GB, free: 3.184 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.1999, allocations: 20.38 kB / 0.6748 GB, free: 3.164 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.2003, allocations: 245.8 kB / 0.675 GB, free: 2.918 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2003, allocations: 7.922 kB / 0.675 GB, free: 2.91 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.2004, allocations: 16 kB / 0.675 GB, free: 2.895 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2004, allocations: 0 / 0.675 GB, free: 2.895 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.2006, allocations: 127.9 kB / 0.6752 GB, free: 2.77 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.203, allocations: 1.866 MB / 0.677 GB, free: 0.8555 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.2032, allocations: 102.6 kB / 0.6771 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.2033, allocations: 89.02 kB / 0.6772 GB, free: 0.6562 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.2033, allocations: 4.031 kB / 0.6772 GB, free: 0.6523 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003379/0.2037, allocations: 256.8 kB / 0.6774 GB, free: 392 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.2037, allocations: 4 kB / 0.6774 GB, free: 388 kB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001801/0.2055, allocations: 1.195 MB / 0.6786 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.2056, allocations: 81.11 kB / 0.6787 GB, free: 15.07 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007574/0.2131, allocations: 6.279 MB / 0.6848 GB, free: 8.836 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/0.2132, allocations: 41.7 kB / 0.6848 GB, free: 8.789 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002433/0.2157, allocations: 2.52 MB / 0.6873 GB, free: 6.266 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 7.194e-05/0.2157, allocations: 27.91 kB / 0.6873 GB, free: 6.238 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.2159, allocations: 133.7 kB / 0.6874 GB, free: 6.102 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2161, allocations: 314 kB / 0.6877 GB, free: 5.789 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.2162, allocations: 83.92 kB / 0.6878 GB, free: 5.707 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2164, allocations: 76 kB / 0.6879 GB, free: 5.633 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.2168, allocations: 228.2 kB / 0.6881 GB, free: 5.395 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2168, allocations: 0 / 0.6881 GB, free: 5.395 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001451/0.2183, allocations: 1.12 MB / 0.6892 GB, free: 4.258 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.2183, allocations: 41.69 kB / 0.6893 GB, free: 4.211 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2183, allocations: 0 / 0.6893 GB, free: 4.211 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2184, allocations: 0 / 0.6893 GB, free: 4.211 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.2185, allocations: 4 kB / 0.6893 GB, free: 4.207 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2185, allocations: 8.094 kB / 0.6893 GB, free: 4.199 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.2189, allocations: 27.88 kB / 0.6893 GB, free: 4.172 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.2191, allocations: 224 kB / 0.6895 GB, free: 3.953 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.001752/0.2209, allocations: 1.339 MB / 0.6908 GB, free: 2.598 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005713/0.2214, allocations: 0.6053 MB / 0.6914 GB, free: 1.988 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007232/0.2222, allocations: 0.6441 MB / 0.692 GB, free: 1.34 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.2222, allocations: 7.984 kB / 0.692 GB, free: 1.332 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.2222, allocations: 0 / 0.692 GB, free: 1.332 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2222, allocations: 0 / 0.692 GB, free: 1.332 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.2242, allocations: 2.026 MB / 0.694 GB, free: 15.26 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2243, allocations: 0 / 0.694 GB, free: 15.26 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.2243, allocations: 7.938 kB / 0.694 GB, free: 15.25 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2243, allocations: 0 / 0.694 GB, free: 15.25 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/0.2244, allocations: 48 kB / 0.6941 GB, free: 15.2 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.2244, allocations: 3.938 kB / 0.6941 GB, free: 15.2 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2244, allocations: 0 / 0.6941 GB, free: 15.2 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.2258, allocations: 1.199 MB / 0.6952 GB, free: 13.97 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/0.2265, allocations: 0.5986 MB / 0.6958 GB, free: 13.35 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.2268, allocations: 23.98 kB / 0.6959 GB, free: 13.33 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.2271, allocations: 16 kB / 0.6959 GB, free: 13.31 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.2271, allocations: 8 kB / 0.6959 GB, free: 13.3 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/0.2274, allocations: 220 kB / 0.6961 GB, free: 13.09 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.006484/0.2338, allocations: 4.328 MB / 0.7003 GB, free: 8.801 MB / 0.5452 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2339, allocations: 0 / 0.7003 GB, free: 8.801 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.000976/0.2349, allocations: 187.9 kB / 0.7005 GB, free: 8.617 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.000331/0.2352, allocations: 147.6 kB / 0.7006 GB, free: 8.469 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0005473/0.2358, allocations: 279.3 kB / 0.7009 GB, free: 8.184 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2358, allocations: 0 / 0.7009 GB, free: 8.184 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.236, allocations: 187.4 kB / 0.7011 GB, free: 7.988 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.2375, allocations: 445.1 kB / 0.7015 GB, free: 7.551 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.2495, allocations: 8.53 MB / 0.7098 GB, free: 14.98 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/0.2521, allocations: 2.728 MB / 0.7125 GB, free: 12.23 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.002518/0.2547, allocations: 1.145 MB / 0.7136 GB, free: 11.08 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.255, allocations: 259.4 kB / 0.7139 GB, free: 10.82 MB / 0.5608 GB Notification: Performance of SimCode: time 1.152e-06/0.255, allocations: 0 / 0.7139 GB, free: 10.82 MB / 0.5608 GB Notification: Performance of Templates: time 0.05397/0.309, allocations: 20.71 MB / 0.7341 GB, free: 6.008 MB / 0.5764 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches