Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 115.5 kB / 17.74 MB, free: 5.355 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.001382/0.001382, allocations: 189.2 kB / 18.67 MB, free: 4.434 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9383/0.9383, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.92 kB / 0.5716 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1399, allocations: 80.7 MB / 0.6504 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002436/0.1423, allocations: 1.417 MB / 0.6517 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.1433, allocations: 0.573 MB / 0.6523 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.1434, allocations: 0 / 0.6523 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.1446, allocations: 1.715 MB / 0.654 GB, free: 9.375 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.1459, allocations: 1.762 MB / 0.6557 GB, free: 7.609 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.1462, allocations: 75.8 kB / 0.6558 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.003239/0.1495, allocations: 4.318 MB / 0.66 GB, free: 3.211 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.1496, allocations: 0 / 0.66 GB, free: 3.211 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.1522, allocations: 2.149 MB / 0.6621 GB, free: 1.059 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.1566, allocations: 4.052 MB / 0.666 GB, free: 13 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007278/0.1574, allocations: 252 kB / 0.6663 GB, free: 12.75 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007034/0.1581, allocations: 327.9 kB / 0.6666 GB, free: 12.43 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.01033/0.1684, allocations: 9.958 MB / 0.6763 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.007715/0.1762, allocations: 5.632 MB / 0.6818 GB, free: 12.76 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.1882, allocations: 12.42 MB / 0.694 GB, free: 284 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1883, allocations: 0 / 0.694 GB, free: 284 kB / 0.5295 GB Notification: Performance of FrontEnd: time 2.364e-06/0.1883, allocations: 0 / 0.694 GB, free: 284 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.000405/0.1887, allocations: 0 / 0.694 GB, free: 284 kB / 0.5295 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.02424/0.2129, allocations: 19.56 MB / 0.7131 GB, free: 12.49 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.213, allocations: 16.02 kB / 0.7131 GB, free: 12.47 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/0.2159, allocations: 2.202 MB / 0.7152 GB, free: 10.24 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05069/0.2666, allocations: 25.83 MB / 0.7404 GB, free: 228 kB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.2667, allocations: 4.375 kB / 0.7404 GB, free: 224 kB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/0.267, allocations: 64.38 kB / 0.7405 GB, free: 160 kB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.2681, allocations: 0.7786 MB / 0.7413 GB, free: 15.37 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2681, allocations: 4 kB / 0.7413 GB, free: 15.37 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.2682, allocations: 67.94 kB / 0.7413 GB, free: 15.3 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2682, allocations: 0 / 0.7413 GB, free: 15.3 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.2688, allocations: 464 kB / 0.7418 GB, free: 14.85 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.2819, allocations: 7 MB / 0.7486 GB, free: 7.797 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.2829, allocations: 286.6 kB / 0.7489 GB, free: 7.508 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006938/0.2837, allocations: 276.9 kB / 0.7492 GB, free: 7.234 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.2837, allocations: 4 kB / 0.7492 GB, free: 7.23 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008686/0.2846, allocations: 0.719 MB / 0.7499 GB, free: 6.492 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 3.206e-06/0.2846, allocations: 0 / 0.7499 GB, free: 6.492 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.005865/0.2905, allocations: 4.22 MB / 0.754 GB, free: 2.23 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.2906, allocations: 89.05 kB / 0.7541 GB, free: 2.125 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5711/0.8617, allocations: 24.83 MB / 0.7783 GB, free: 86.36 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0004135/0.8622, allocations: 89.05 kB / 0.7784 GB, free: 86.32 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.0104/0.8726, allocations: 10.83 MB / 0.789 GB, free: 77.7 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004787/0.8731, allocations: 88.3 kB / 0.7891 GB, free: 77.69 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006053/0.8737, allocations: 456.3 kB / 0.7895 GB, free: 77.68 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.8737, allocations: 312.4 kB / 0.7898 GB, free: 77.37 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.8742, allocations: 264.4 kB / 0.79 GB, free: 77.36 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.8746, allocations: 272.4 kB / 0.7903 GB, free: 77.36 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.8755, allocations: 0.5924 MB / 0.7909 GB, free: 77.27 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8755, allocations: 1.75 kB / 0.7909 GB, free: 77.27 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005681/0.8812, allocations: 3.971 MB / 0.7948 GB, free: 77.18 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/0.8812, allocations: 39.17 kB / 0.7948 GB, free: 77.15 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8813, allocations: 1.219 kB / 0.7948 GB, free: 77.15 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.8813, allocations: 0 / 0.7948 GB, free: 77.15 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.8814, allocations: 4.312 kB / 0.7948 GB, free: 77.15 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.8814, allocations: 2.625 kB / 0.7948 GB, free: 77.15 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.8838, allocations: 68.56 kB / 0.7949 GB, free: 77.15 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/0.885, allocations: 0.8624 MB / 0.7957 GB, free: 77.03 MB / 0.6079 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.006505/0.8915, allocations: 4.901 MB / 0.8005 GB, free: 76.39 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00272/0.8943, allocations: 2.272 MB / 0.8027 GB, free: 76.39 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/0.8985, allocations: 2.567 MB / 0.8052 GB, free: 75.65 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.8985, allocations: 0 / 0.8052 GB, free: 75.65 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8985, allocations: 4.781 kB / 0.8052 GB, free: 75.65 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.8985, allocations: 0.8438 kB / 0.8052 GB, free: 75.65 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.9106, allocations: 7.617 MB / 0.8127 GB, free: 72.27 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.9107, allocations: 2.25 kB / 0.8127 GB, free: 72.27 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.9107, allocations: 3.812 kB / 0.8127 GB, free: 72.27 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.9107, allocations: 0 / 0.8127 GB, free: 72.27 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004931/0.9112, allocations: 192.5 kB / 0.8129 GB, free: 72.27 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.9113, allocations: 3.75 kB / 0.8129 GB, free: 72.27 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9113, allocations: 0 / 0.8129 GB, free: 72.27 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004437/0.9157, allocations: 4.169 MB / 0.8169 GB, free: 70.74 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003106/0.9188, allocations: 1.981 MB / 0.8189 GB, free: 69.2 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001632/0.9205, allocations: 78.56 kB / 0.8189 GB, free: 69.12 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/0.9223, allocations: 64 kB / 0.819 GB, free: 69.06 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.9223, allocations: 0 / 0.819 GB, free: 69.06 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005477/0.9229, allocations: 0.8594 MB / 0.8198 GB, free: 68.2 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02184/0.9448, allocations: 17.25 MB / 0.8367 GB, free: 51.11 MB / 0.6079 GB Notification: Performance of sort global known variables: time 2.014e-06/0.9448, allocations: 0 / 0.8367 GB, free: 51.11 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.002535/0.9473, allocations: 0.6432 MB / 0.8373 GB, free: 50.47 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: 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.0004567/0.9478, allocations: 191.3 kB / 0.8375 GB, free: 50.28 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.949, allocations: 0.6844 MB / 0.8382 GB, free: 49.59 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.949, allocations: 3 kB / 0.8382 GB, free: 49.59 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.9495, allocations: 425.8 kB / 0.8386 GB, free: 49.16 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006689/0.9562, allocations: 1.695 MB / 0.8402 GB, free: 47.47 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03871/0.9949, allocations: 35.49 MB / 0.8749 GB, free: 12.18 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009421/1.004, allocations: 8.917 MB / 0.8836 GB, free: 3.223 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/1.006, allocations: 0.9838 MB / 0.8845 GB, free: 2.238 MB / 0.6079 GB Notification: Performance of SimCode: time 9.02e-07/1.006, allocations: 0 / 0.8845 GB, free: 2.238 MB / 0.6079 GB Notification: Performance of Templates: time 4.739/5.745, allocations: 1.619 GB / 2.504 GB, free: 98.06 MB / 0.8267 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches