Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 111.7 kB / 17.74 MB, free: 5.297 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.002285/0.002286, allocations: 188.4 kB / 18.67 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.323/3.323, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 2.059/2.059, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 61.48 kB / 0.5716 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.297, allocations: 80.7 MB / 0.6504 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125): time 0.005679/0.3027, allocations: 1.562 MB / 0.6519 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.003004/0.3058, allocations: 0.8963 MB / 0.6528 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.306, allocations: 4 kB / 0.6528 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0007409/0.3068, allocations: 259.5 kB / 0.653 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007431/0.3075, allocations: 211.5 kB / 0.6532 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.3082, allocations: 107.4 kB / 0.6533 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.3089, allocations: 381.3 kB / 0.6537 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.54e-05/0.309, allocations: 7.984 kB / 0.6537 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004488/0.3095, allocations: 193.5 kB / 0.6539 GB, free: 9.461 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005248/0.31, allocations: 299.6 kB / 0.6542 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.989e-05/0.3101, allocations: 16 kB / 0.6542 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.3103, allocations: 47.98 kB / 0.6542 GB, free: 9.102 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.3116, allocations: 0.6411 MB / 0.6549 GB, free: 8.461 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.3122, allocations: 392.1 kB / 0.6552 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.3136, allocations: 0.8587 MB / 0.6561 GB, free: 7.211 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.3137, allocations: 4 kB / 0.6561 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.236e-06/0.3137, allocations: 0 / 0.6561 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.656e-05/0.3137, allocations: 0 / 0.6561 GB, free: 7.207 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.003219/0.317, allocations: 1.583 MB / 0.6576 GB, free: 5.562 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 7.166e-05/0.317, allocations: 11.89 kB / 0.6576 GB, free: 5.551 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000307/0.3174, allocations: 155 kB / 0.6578 GB, free: 5.398 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005321/0.3227, allocations: 1.77 MB / 0.6595 GB, free: 3.555 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.3228, allocations: 8.312 kB / 0.6595 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.3228, allocations: 8.125 kB / 0.6595 GB, free: 3.539 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.3231, allocations: 53.61 kB / 0.6596 GB, free: 3.48 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3231, allocations: 3.984 kB / 0.6596 GB, free: 3.477 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.3231, allocations: 0 / 0.6596 GB, free: 3.477 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3232, allocations: 0 / 0.6596 GB, free: 3.477 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3233, allocations: 15.98 kB / 0.6596 GB, free: 3.461 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.3244, allocations: 0.59 MB / 0.6602 GB, free: 2.812 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.3247, allocations: 50.61 kB / 0.6602 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3248, allocations: 20.8 kB / 0.6602 GB, free: 2.73 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.3249, allocations: 3.984 kB / 0.6602 GB, free: 2.727 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.3251, allocations: 71.33 kB / 0.6603 GB, free: 2.645 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 2.264e-06/0.3252, allocations: 0 / 0.6603 GB, free: 2.645 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0007943/0.326, allocations: 235.7 kB / 0.6605 GB, free: 2.406 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.326, allocations: 51.41 kB / 0.6606 GB, free: 2.344 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/0.3294, allocations: 1.716 MB / 0.6623 GB, free: 0.5781 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.3295, allocations: 25.7 kB / 0.6623 GB, free: 0.5469 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009535/0.3305, allocations: 0.6767 MB / 0.6629 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.3306, allocations: 7.906 kB / 0.6629 GB, free: 15.85 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-05/0.3307, allocations: 29.66 kB / 0.663 GB, free: 15.82 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3308, allocations: 306 kB / 0.6633 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.331, allocations: 15.98 kB / 0.6633 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.3311, allocations: 25.7 kB / 0.6633 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.3313, allocations: 41.72 kB / 0.6633 GB, free: 15.42 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3313, allocations: 4 kB / 0.6634 GB, free: 15.41 MB / 0.5139 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005918/0.3319, allocations: 231.6 kB / 0.6636 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.3319, allocations: 4 kB / 0.6636 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.332, allocations: 3.938 kB / 0.6636 GB, free: 15.17 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.332, allocations: 4 kB / 0.6636 GB, free: 15.17 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.3321, allocations: 8 kB / 0.6636 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3322, allocations: 0 / 0.6636 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.3325, allocations: 19.89 kB / 0.6636 GB, free: 15.14 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3325, allocations: 320 / 0.6636 GB, free: 15.14 MB / 0.5139 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.0008754/0.3334, allocations: 434.3 kB / 0.664 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.3337, allocations: 158 kB / 0.6642 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.3341, allocations: 171 kB / 0.6643 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3341, allocations: 0 / 0.6643 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.3341, allocations: 4 kB / 0.6643 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.3341, allocations: 0 / 0.6643 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.3352, allocations: 0.6328 MB / 0.665 GB, free: 13.69 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3352, allocations: 0 / 0.665 GB, free: 13.69 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.002e-05/0.3353, allocations: 4 kB / 0.665 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3353, allocations: 3.938 kB / 0.665 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3353, allocations: 8 kB / 0.665 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3353, allocations: 0 / 0.665 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3353, allocations: 0 / 0.665 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.336, allocations: 260 kB / 0.6652 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.3364, allocations: 203.1 kB / 0.6654 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.3365, allocations: 8 kB / 0.6654 GB, free: 13.17 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.3367, allocations: 11.94 kB / 0.6654 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.3368, allocations: 7.984 kB / 0.6654 GB, free: 13.15 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.3369, allocations: 4 kB / 0.6654 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002596/0.3395, allocations: 1.187 MB / 0.6666 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3395, allocations: 0 / 0.6666 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0006025/0.3401, allocations: 56 kB / 0.6667 GB, free: 11.88 MB / 0.5139 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.001731/0.3419, allocations: 407.7 kB / 0.667 GB, free: 11.63 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.3422, allocations: 35.98 kB / 0.6671 GB, free: 11.59 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.3422, allocations: 8.062 kB / 0.6671 GB, free: 11.59 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 8.7e-05/0.3423, allocations: 19.92 kB / 0.6671 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.3431, allocations: 138.2 kB / 0.6672 GB, free: 11.43 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005716/0.3489, allocations: 2.208 MB / 0.6694 GB, free: 9.184 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.3504, allocations: 1.192 MB / 0.6706 GB, free: 7.965 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/0.3509, allocations: 155.3 kB / 0.6707 GB, free: 7.812 MB / 0.5139 GB Notification: Performance of SimCode: time 1.243e-06/0.351, allocations: 4 kB / 0.6707 GB, free: 7.809 MB / 0.5139 GB Notification: Performance of Templates: time 0.0669/0.4179, allocations: 18.61 MB / 0.6889 GB, free: 5.176 MB / 0.5295 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches