Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.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.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001568, allocations: 111.6 kB / 17.06 MB, free: 6 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.001571/0.001571, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.354/1.354, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9897/0.9897, allocations: 119.3 MB / 411.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 61.86 kB / 0.5709 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1473, allocations: 80.69 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.002564/0.1499, allocations: 1.581 MB / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1513, allocations: 0.8963 MB / 0.6521 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.1514, allocations: 0 / 0.6521 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.1526, allocations: 1.754 MB / 0.6538 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0008314/0.1535, allocations: 0.9471 MB / 0.6548 GB, free: 7.871 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.1538, allocations: 107.5 kB / 0.6549 GB, free: 7.77 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.1554, allocations: 2.227 MB / 0.657 GB, free: 5.539 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.1555, allocations: 7.984 kB / 0.657 GB, free: 5.531 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.1567, allocations: 1.1 MB / 0.6581 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.1585, allocations: 2.063 MB / 0.6601 GB, free: 2.363 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.1588, allocations: 132 kB / 0.6603 GB, free: 2.234 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.1591, allocations: 152 kB / 0.6604 GB, free: 2.086 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.004864/0.164, allocations: 4.999 MB / 0.6653 GB, free: 13.07 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.003563/0.1676, allocations: 2.827 MB / 0.668 GB, free: 10.21 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.006247/0.1738, allocations: 6.259 MB / 0.6742 GB, free: 3.922 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1739, allocations: 0 / 0.6742 GB, free: 3.922 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1739, allocations: 0 / 0.6742 GB, free: 3.922 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001506/0.174, allocations: 0 / 0.6742 GB, free: 3.922 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01183/0.1859, allocations: 9.984 MB / 0.6839 GB, free: 9.801 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1859, allocations: 11.89 kB / 0.6839 GB, free: 9.789 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.1873, allocations: 1.111 MB / 0.685 GB, free: 8.664 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02199/0.2093, allocations: 12.98 MB / 0.6977 GB, free: 11.57 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2094, allocations: 384 / 0.6977 GB, free: 11.57 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.2094, allocations: 8.125 kB / 0.6977 GB, free: 11.56 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.2096, allocations: 49.67 kB / 0.6977 GB, free: 11.5 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2096, allocations: 0 / 0.6977 GB, free: 11.5 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2096, allocations: 0 / 0.6977 GB, free: 11.5 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2096, allocations: 3.938 kB / 0.6977 GB, free: 11.5 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.608e-05/0.2097, allocations: 19.92 kB / 0.6978 GB, free: 11.48 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.2137, allocations: 3.553 MB / 0.7012 GB, free: 7.887 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.2139, allocations: 50.62 kB / 0.7013 GB, free: 7.828 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.214, allocations: 24.78 kB / 0.7013 GB, free: 7.801 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.214, allocations: 7.984 kB / 0.7013 GB, free: 7.793 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.2142, allocations: 67.33 kB / 0.7014 GB, free: 7.715 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.2142, allocations: 3.938 kB / 0.7014 GB, free: 7.711 MB / 0.5452 GB Notification: Performance of matching and sorting (n=5): time 0.001464/0.2156, allocations: 1.217 MB / 0.7026 GB, free: 6.473 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.2157, allocations: 55.41 kB / 0.7026 GB, free: 6.406 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01503/0.2307, allocations: 12.75 MB / 0.7151 GB, free: 9.762 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.2308, allocations: 29.7 kB / 0.7151 GB, free: 9.727 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.004881/0.2357, allocations: 5.474 MB / 0.7204 GB, free: 4.25 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.2358, allocations: 11.89 kB / 0.7204 GB, free: 4.238 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.2358, allocations: 21.72 kB / 0.7205 GB, free: 4.211 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.236, allocations: 310 kB / 0.7208 GB, free: 3.902 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.2361, allocations: 16.23 kB / 0.7208 GB, free: 3.887 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.2361, allocations: 29.69 kB / 0.7208 GB, free: 3.852 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.2363, allocations: 49.66 kB / 0.7209 GB, free: 3.797 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2363, allocations: 0 / 0.7209 GB, free: 3.797 MB / 0.5608 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.002023/0.2383, allocations: 1.217 MB / 0.722 GB, free: 2.559 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2383, allocations: 4 kB / 0.722 GB, free: 2.555 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2383, allocations: 4 kB / 0.7221 GB, free: 2.551 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2384, allocations: 0 / 0.7221 GB, free: 2.551 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.2384, allocations: 8 kB / 0.7221 GB, free: 2.543 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2385, allocations: 0 / 0.7221 GB, free: 2.543 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009953/0.2395, allocations: 51.83 kB / 0.7221 GB, free: 2.492 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.2395, allocations: 0 / 0.7221 GB, free: 2.492 MB / 0.5608 GB 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.003338/0.2428, allocations: 2.442 MB / 0.7245 GB, free: 40 kB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/0.2442, allocations: 1.173 MB / 0.7256 GB, free: 14.85 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.246, allocations: 1.292 MB / 0.7269 GB, free: 13.55 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.246, allocations: 0 / 0.7269 GB, free: 13.55 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.246, allocations: 0 / 0.7269 GB, free: 13.55 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.246, allocations: 4 kB / 0.7269 GB, free: 13.55 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/0.25, allocations: 3.889 MB / 0.7307 GB, free: 9.613 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.25, allocations: 0 / 0.7307 GB, free: 9.613 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.25, allocations: 7.938 kB / 0.7307 GB, free: 9.605 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.25, allocations: 0 / 0.7307 GB, free: 9.605 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2501, allocations: 3.984 kB / 0.7307 GB, free: 9.602 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2501, allocations: 4 kB / 0.7307 GB, free: 9.598 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2501, allocations: 0 / 0.7307 GB, free: 9.598 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.2515, allocations: 1.34 MB / 0.732 GB, free: 8.227 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.2525, allocations: 0.9356 MB / 0.7329 GB, free: 7.258 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004455/0.2529, allocations: 36 kB / 0.733 GB, free: 7.223 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.2536, allocations: 35.98 kB / 0.733 GB, free: 7.188 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.2536, allocations: 4 kB / 0.733 GB, free: 7.184 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.2536, allocations: 8 kB / 0.733 GB, free: 7.176 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01183/0.2655, allocations: 8.763 MB / 0.7416 GB, free: 14.49 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2655, allocations: 0 / 0.7416 GB, free: 14.49 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001261/0.2668, allocations: 331.9 kB / 0.7419 GB, free: 14.17 MB / 0.592 GB 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.0009167/0.2677, allocations: 401.7 kB / 0.7423 GB, free: 13.92 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.2679, allocations: 39.98 kB / 0.7423 GB, free: 13.88 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2679, allocations: 0 / 0.7423 GB, free: 13.88 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/0.268, allocations: 27.98 kB / 0.7423 GB, free: 13.85 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.2706, allocations: 0.8772 MB / 0.7432 GB, free: 12.97 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02167/0.2923, allocations: 17.03 MB / 0.7598 GB, free: 11.9 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005457/0.2978, allocations: 4.805 MB / 0.7645 GB, free: 7.07 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.005816/0.3037, allocations: 2.82 MB / 0.7673 GB, free: 4.238 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/0.3053, allocations: 1.112 MB / 0.7684 GB, free: 3.125 MB / 0.6077 GB Notification: Performance of SimCode: time 9.72e-07/0.3053, allocations: 4 kB / 0.7684 GB, free: 3.121 MB / 0.6077 GB Notification: Performance of Templates: time 0.6811/0.9864, allocations: 30.48 MB / 0.7981 GB, free: 98.12 MB / 0.6079 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches