Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 111 kB / 17.74 MB, free: 5.34 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.00135/0.00135, allocations: 188.4 kB / 18.67 MB, free: 4.418 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.273/1.273, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8874/0.8874, allocations: 119.3 MB / 411.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 66.58 kB / 0.5716 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1274, allocations: 80.7 MB / 0.6504 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.002769/0.1302, allocations: 1.573 MB / 0.6519 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1316, allocations: 0.8924 MB / 0.6528 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.342e-05/0.1317, allocations: 4 kB / 0.6528 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002403/0.1341, allocations: 3.457 MB / 0.6562 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.1356, allocations: 1.805 MB / 0.6579 GB, free: 5.289 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.136, allocations: 103.6 kB / 0.658 GB, free: 5.188 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.003208/0.1392, allocations: 4.349 MB / 0.6623 GB, free: 0.832 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.1392, allocations: 11.97 kB / 0.6623 GB, free: 0.8203 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.1417, allocations: 2.152 MB / 0.6644 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003758/0.1455, allocations: 4.071 MB / 0.6684 GB, free: 10.59 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007815/0.1463, allocations: 256 kB / 0.6686 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007548/0.147, allocations: 284 kB / 0.6689 GB, free: 10.06 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.009545/0.1566, allocations: 9.97 MB / 0.6786 GB, free: 64 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.006473/0.1631, allocations: 5.636 MB / 0.6841 GB, free: 10.37 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.1739, allocations: 12.43 MB / 0.6962 GB, free: 13.87 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1739, allocations: 7.938 kB / 0.6963 GB, free: 13.86 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1739, allocations: 0 / 0.6963 GB, free: 13.86 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0003304/0.1742, allocations: 0 / 0.6963 GB, free: 13.86 MB / 0.5452 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.02377/0.198, allocations: 19.56 MB / 0.7154 GB, free: 10.08 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1981, allocations: 15.88 kB / 0.7154 GB, free: 10.07 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004328/0.2024, allocations: 2.206 MB / 0.7175 GB, free: 7.832 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04612/0.2486, allocations: 25.85 MB / 0.7428 GB, free: 13.79 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.2486, allocations: 384 / 0.7428 GB, free: 13.79 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.2487, allocations: 4.125 kB / 0.7428 GB, free: 13.78 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.2488, allocations: 57.66 kB / 0.7428 GB, free: 13.72 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.2489, allocations: 0 / 0.7428 GB, free: 13.72 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2489, allocations: 0 / 0.7428 GB, free: 13.72 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2489, allocations: 7.875 kB / 0.7428 GB, free: 13.71 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.249, allocations: 11.98 kB / 0.7429 GB, free: 13.7 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.2596, allocations: 6.95 MB / 0.7496 GB, free: 6.699 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.2599, allocations: 50.61 kB / 0.7497 GB, free: 6.641 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.2599, allocations: 20.8 kB / 0.7497 GB, free: 6.617 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.26, allocations: 7.984 kB / 0.7497 GB, free: 6.609 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.2601, allocations: 71.33 kB / 0.7498 GB, free: 6.527 MB / 0.592 GB Notification: Performance of pre-optimization done (n=5): time 2.534e-06/0.2601, allocations: 0 / 0.7498 GB, free: 6.527 MB / 0.592 GB Notification: Performance of matching and sorting (n=5): time 0.00377/0.2639, allocations: 2.351 MB / 0.7521 GB, free: 4.141 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.264, allocations: 55.34 kB / 0.7521 GB, free: 4.074 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5701/0.8341, allocations: 25.35 MB / 0.7769 GB, free: 89.44 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.8342, allocations: 26.92 kB / 0.7769 GB, free: 89.41 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.009154/0.8434, allocations: 11.35 MB / 0.788 GB, free: 80.24 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.8434, allocations: 12.03 kB / 0.788 GB, free: 80.24 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.8435, allocations: 23.47 kB / 0.788 GB, free: 80.22 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.8436, allocations: 307.8 kB / 0.7883 GB, free: 79.91 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.192e-05/0.8437, allocations: 14.19 kB / 0.7883 GB, free: 79.91 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.8438, allocations: 29.28 kB / 0.7884 GB, free: 79.89 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.553e-05/0.8439, allocations: 46.03 kB / 0.7884 GB, free: 79.86 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8439, allocations: 4.594 kB / 0.7884 GB, free: 79.86 MB / 0.6079 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.003768/0.8476, allocations: 2.341 MB / 0.7907 GB, free: 79.82 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.8477, allocations: 5.719 kB / 0.7907 GB, free: 79.82 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.8477, allocations: 1.062 kB / 0.7907 GB, free: 79.82 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.8477, allocations: 0 / 0.7907 GB, free: 79.82 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.8478, allocations: 17.34 kB / 0.7907 GB, free: 79.82 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.8478, allocations: 1.953 kB / 0.7907 GB, free: 79.82 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.8497, allocations: 66.67 kB / 0.7908 GB, free: 79.82 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.8497, allocations: 4.875 kB / 0.7908 GB, free: 79.82 MB / 0.6079 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.006445/0.8562, allocations: 4.76 MB / 0.7954 GB, free: 79.21 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002635/0.8588, allocations: 2.327 MB / 0.7977 GB, free: 79.21 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/0.8623, allocations: 2.57 MB / 0.8002 GB, free: 78.47 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.8623, allocations: 3 kB / 0.8002 GB, free: 78.47 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8623, allocations: 0 / 0.8002 GB, free: 78.47 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8623, allocations: 0 / 0.8002 GB, free: 78.47 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007757/0.8701, allocations: 7.625 MB / 0.8077 GB, free: 75.9 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.8701, allocations: 4.172 kB / 0.8077 GB, free: 75.9 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.012e-05/0.8702, allocations: 4.688 kB / 0.8077 GB, free: 75.9 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.8702, allocations: 1.125 kB / 0.8077 GB, free: 75.9 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.8702, allocations: 12.2 kB / 0.8077 GB, free: 75.89 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.8702, allocations: 3.375 kB / 0.8077 GB, free: 75.89 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8702, allocations: 3.5 kB / 0.8077 GB, free: 75.89 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.8728, allocations: 2.562 MB / 0.8102 GB, free: 74.43 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/0.8747, allocations: 1.796 MB / 0.812 GB, free: 73.07 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/0.8758, allocations: 69.81 kB / 0.812 GB, free: 73.07 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.877, allocations: 64.39 kB / 0.8121 GB, free: 73.07 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.877, allocations: 3.5 kB / 0.8121 GB, free: 73.07 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.877, allocations: 9.219 kB / 0.8121 GB, free: 73.07 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.01983/0.8969, allocations: 17.51 MB / 0.8292 GB, free: 64.44 MB / 0.6079 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8969, allocations: 0 / 0.8292 GB, free: 64.44 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.002041/0.8989, allocations: 0.625 MB / 0.8298 GB, free: 63.82 MB / 0.6079 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.0008658/0.8998, allocations: 415.6 kB / 0.8302 GB, free: 63.62 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.9, allocations: 42.59 kB / 0.8302 GB, free: 63.59 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9, allocations: 0 / 0.8302 GB, free: 63.59 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/0.9001, allocations: 23.94 kB / 0.8303 GB, free: 63.56 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004186/0.9043, allocations: 1.71 MB / 0.8319 GB, free: 61.85 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03523/0.9396, allocations: 35.53 MB / 0.8666 GB, free: 26.51 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008793/0.9484, allocations: 8.929 MB / 0.8754 GB, free: 17.54 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003414/0.9519, allocations: 2.213 MB / 0.8775 GB, free: 15.33 MB / 0.6079 GB Notification: Performance of SimCode: time 1.552e-06/0.9519, allocations: 0 / 0.8775 GB, free: 15.33 MB / 0.6079 GB Notification: Performance of Templates: time 4.27/5.222, allocations: 1.605 GB / 2.483 GB, free: 100.8 MB / 0.811 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches