Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009088/0.0009089, allocations: 109.2 kB / 17.01 MB, free: 6.082 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.000854/0.000854, allocations: 196.5 kB / 17.95 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3979/0.3979, allocations: 225.6 MB / 244.4 MB, free: 5.348 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5706/0.5706, allocations: 119.5 MB / 414 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009713/0.0009713, allocations: 67.91 kB / 0.4945 GB, free: 13.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4193, allocations: 80.68 MB / 0.5733 GB, free: 56.2 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001932/0.4212, allocations: 1.405 MB / 0.5747 GB, free: 55.23 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.422, allocations: 0.5724 MB / 0.5752 GB, free: 54.84 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.4221, allocations: 1.25 kB / 0.5752 GB, free: 54.84 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.4244, allocations: 3.427 MB / 0.5786 GB, free: 54.22 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.4269, allocations: 3.474 MB / 0.582 GB, free: 53.59 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.4272, allocations: 84.19 kB / 0.5821 GB, free: 53.55 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.005676/0.4329, allocations: 8.547 MB / 0.5904 GB, free: 49.46 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.4329, allocations: 7.734 kB / 0.5904 GB, free: 49.46 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004327/0.4373, allocations: 4.244 MB / 0.5946 GB, free: 46.75 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003984/0.4413, allocations: 8.088 MB / 0.6025 GB, free: 38.64 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 0.0007315/0.442, allocations: 0.496 MB / 0.6029 GB, free: 38.15 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006541/0.4427, allocations: 0.5663 MB / 0.6035 GB, free: 37.58 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 0.01167/0.4543, allocations: 19.91 MB / 0.6229 GB, free: 17.62 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 0.005299/0.4596, allocations: 11.26 MB / 0.6339 GB, free: 6.258 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.4736, allocations: 24.73 MB / 0.6581 GB, free: 13.4 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4736, allocations: 7.938 kB / 0.6581 GB, free: 13.39 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4736, allocations: 4 kB / 0.6581 GB, free: 13.39 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0003265/0.4739, allocations: 0 / 0.6581 GB, free: 13.39 MB / 0.4983 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.03413/0.5081, allocations: 38.74 MB / 0.6959 GB, free: 6.238 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.5081, allocations: 12.03 kB / 0.6959 GB, free: 6.227 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00365/0.5118, allocations: 4.399 MB / 0.7002 GB, free: 1.77 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0664/0.5782, allocations: 51.58 MB / 0.7506 GB, free: 13.83 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.5782, allocations: 384 / 0.7506 GB, free: 13.83 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.5785, allocations: 128.8 kB / 0.7507 GB, free: 13.7 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.5798, allocations: 1.52 MB / 0.7522 GB, free: 12.18 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.5799, allocations: 0 / 0.7522 GB, free: 12.18 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.5801, allocations: 124 kB / 0.7523 GB, free: 12.06 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5801, allocations: 0 / 0.7523 GB, free: 12.06 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009034/0.581, allocations: 0.875 MB / 0.7532 GB, free: 11.18 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.5938, allocations: 13.85 MB / 0.7667 GB, free: 13.27 MB / 0.6077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007423/0.5945, allocations: 0.5337 MB / 0.7672 GB, free: 12.73 MB / 0.6077 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/0.5952, allocations: 0.5165 MB / 0.7677 GB, free: 12.21 MB / 0.6077 GB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-06/0.5952, allocations: 4 kB / 0.7677 GB, free: 12.21 MB / 0.6077 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.5963, allocations: 1.316 MB / 0.769 GB, free: 10.87 MB / 0.6077 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.5963, allocations: 0 / 0.769 GB, free: 10.87 MB / 0.6077 GB Notification: Performance of matching and sorting (n=8): time 0.008028/0.6043, allocations: 8.323 MB / 0.7772 GB, free: 2.473 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.6044, allocations: 81.11 kB / 0.7772 GB, free: 2.375 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4445/1.049, allocations: 49.57 MB / 0.8256 GB, free: 151.3 MB / 0.6235 GB Notification: Performance of collectPreVariables (initialization): time 0.000374/1.049, allocations: 157.6 kB / 0.8258 GB, free: 151.3 MB / 0.6235 GB Notification: Performance of collectInitialEqns (initialization): time 0.0128/1.062, allocations: 22.55 MB / 0.8478 GB, free: 133.1 MB / 0.6235 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004742/1.063, allocations: 144.4 kB / 0.848 GB, free: 133.1 MB / 0.6235 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006019/1.063, allocations: 0.8807 MB / 0.8488 GB, free: 133.1 MB / 0.6235 GB Notification: Performance of setup shared object (initialization): time 3.465e-05/1.063, allocations: 311.3 kB / 0.8491 GB, free: 132.8 MB / 0.6235 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/1.064, allocations: 0.5019 MB / 0.8496 GB, free: 132.8 MB / 0.6235 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/1.064, allocations: 0.5089 MB / 0.8501 GB, free: 132.8 MB / 0.6235 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/1.065, allocations: 1.079 MB / 0.8511 GB, free: 132.7 MB / 0.6235 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.065, allocations: 0 / 0.8511 GB, free: 132.7 MB / 0.6235 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005783/1.071, allocations: 7.821 MB / 0.8588 GB, free: 132.3 MB / 0.6235 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/1.071, allocations: 35.72 kB / 0.8588 GB, free: 132.2 MB / 0.6235 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/1.071, allocations: 0 / 0.8588 GB, free: 132.2 MB / 0.6235 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/1.071, allocations: 0 / 0.8588 GB, free: 132.2 MB / 0.6235 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/1.071, allocations: 4 kB / 0.8588 GB, free: 132.2 MB / 0.6235 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/1.071, allocations: 5.969 kB / 0.8588 GB, free: 132.2 MB / 0.6235 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/1.074, allocations: 130 kB / 0.859 GB, free: 132.1 MB / 0.6235 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008018/1.074, allocations: 1.711 MB / 0.8606 GB, free: 130.4 MB / 0.6235 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.008178/1.083, allocations: 9.673 MB / 0.8701 GB, free: 121.3 MB / 0.6235 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002503/1.085, allocations: 4.529 MB / 0.8745 GB, free: 119.2 MB / 0.6235 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004293/1.089, allocations: 5.111 MB / 0.8795 GB, free: 114.1 MB / 0.6235 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.089, allocations: 3.938 kB / 0.8795 GB, free: 114.1 MB / 0.6235 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.089, allocations: 7.922 kB / 0.8795 GB, free: 114 MB / 0.6235 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/1.089, allocations: 0 / 0.8795 GB, free: 114 MB / 0.6235 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009119/1.099, allocations: 15.08 MB / 0.8942 GB, free: 98.91 MB / 0.6235 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.099, allocations: 0 / 0.8942 GB, free: 98.91 MB / 0.6235 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/1.099, allocations: 4 kB / 0.8942 GB, free: 98.9 MB / 0.6235 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.099, allocations: 3.828 kB / 0.8942 GB, free: 98.9 MB / 0.6235 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004745/1.099, allocations: 380 kB / 0.8946 GB, free: 98.53 MB / 0.6235 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.099, allocations: 3.938 kB / 0.8946 GB, free: 98.53 MB / 0.6235 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.099, allocations: 2 kB / 0.8946 GB, free: 98.53 MB / 0.6235 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/1.105, allocations: 8.146 MB / 0.9026 GB, free: 90.3 MB / 0.6235 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003464/1.108, allocations: 3.874 MB / 0.9063 GB, free: 86.35 MB / 0.6235 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001538/1.11, allocations: 128 kB / 0.9065 GB, free: 86.23 MB / 0.6235 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/1.111, allocations: 135.9 kB / 0.9066 GB, free: 86.09 MB / 0.6235 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/1.112, allocations: 4 kB / 0.9066 GB, free: 86.09 MB / 0.6235 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007623/1.112, allocations: 1.716 MB / 0.9083 GB, free: 84.38 MB / 0.6235 GB Notification: Performance of sorting global known variables: time 0.03029/1.143, allocations: 34.49 MB / 0.942 GB, free: 50.18 MB / 0.6235 GB Notification: Performance of sort global known variables: time 9.62e-07/1.143, allocations: 0 / 0.942 GB, free: 50.18 MB / 0.6235 GB Notification: Performance of remove unused functions: time 0.002875/1.145, allocations: 1.254 MB / 0.9432 GB, free: 48.93 MB / 0.6235 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.000303/1.146, allocations: 253.2 kB / 0.9434 GB, free: 48.68 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.00136/1.147, allocations: 1.23 MB / 0.9446 GB, free: 47.44 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.147, allocations: 0 / 0.9446 GB, free: 47.44 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.0007739/1.148, allocations: 0.7182 MB / 0.9453 GB, free: 46.71 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006045/1.154, allocations: 3.382 MB / 0.9486 GB, free: 43.33 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05911/1.213, allocations: 70.58 MB / 1.018 GB, free: 5.195 MB / 0.6548 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01508/1.228, allocations: 17.33 MB / 1.034 GB, free: 3.812 MB / 0.6704 GB Notification: Performance of simCode: alias equations: time 0.01541/1.244, allocations: 9.429 MB / 1.044 GB, free: 10.37 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/1.245, allocations: 1.96 MB / 1.046 GB, free: 8.414 MB / 0.686 GB Notification: Performance of SimCode: time 6.71e-07/1.245, allocations: 0 / 1.046 GB, free: 8.414 MB / 0.686 GB Notification: Performance of Templates: time 0.3551/1.6, allocations: 167.4 MB / 1.209 GB, free: 90.07 MB / 0.686 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches