Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 105.4 kB / 17.01 MB, free: 5.781 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.001358/0.001358, allocations: 196.5 kB / 17.95 MB, free: 5.051 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.4277/0.4277, allocations: 225.6 MB / 244.4 MB, free: 4.887 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6014/0.6014, allocations: 119.4 MB / 414 MB, free: 10.42 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009974/0.0009974, allocations: 67.89 kB / 0.4945 GB, free: 13.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4109, allocations: 80.68 MB / 0.5733 GB, free: 56.03 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001856/0.4128, allocations: 1.391 MB / 0.5747 GB, free: 55.07 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.000731/0.4135, allocations: 0.5677 MB / 0.5752 GB, free: 54.68 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.4136, allocations: 1.281 kB / 0.5752 GB, free: 54.68 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.4137, allocations: 20.72 kB / 0.5752 GB, free: 54.67 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.4139, allocations: 64.44 kB / 0.5753 GB, free: 54.65 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.4142, allocations: 78.55 kB / 0.5754 GB, free: 54.62 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.4143, allocations: 90.31 kB / 0.5755 GB, free: 54.59 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.4143, allocations: 9.188 kB / 0.5755 GB, free: 54.59 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 9.846e-05/0.4144, allocations: 42.88 kB / 0.5755 GB, free: 54.57 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.4146, allocations: 52.52 kB / 0.5756 GB, free: 54.55 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.4146, allocations: 8.781 kB / 0.5756 GB, free: 54.55 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.4147, allocations: 84.83 kB / 0.5756 GB, free: 54.53 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 9.773e-05/0.4148, allocations: 49.66 kB / 0.5757 GB, free: 54.52 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.4148, allocations: 54.66 kB / 0.5757 GB, free: 54.48 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.415, allocations: 147 kB / 0.5759 GB, free: 54.43 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.415, allocations: 0 / 0.5759 GB, free: 54.43 MB / 478.2 MB Notification: Performance of FrontEnd: time 9.42e-07/0.415, allocations: 0 / 0.5759 GB, free: 54.43 MB / 478.2 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.415, allocations: 1.312 kB / 0.5759 GB, free: 54.43 MB / 478.2 MB 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.000363/0.4154, allocations: 475 kB / 0.5763 GB, free: 53.97 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.634e-05/0.4154, allocations: 13.44 kB / 0.5764 GB, free: 53.97 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.4155, allocations: 16.66 kB / 0.5764 GB, free: 53.96 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.4158, allocations: 316.1 kB / 0.5767 GB, free: 53.71 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.4158, allocations: 2.75 kB / 0.5767 GB, free: 53.71 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.4158, allocations: 2.031 kB / 0.5767 GB, free: 53.71 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.198e-05/0.4159, allocations: 57.94 kB / 0.5767 GB, free: 53.66 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.4159, allocations: 0 / 0.5767 GB, free: 53.66 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.416, allocations: 2.281 kB / 0.5767 GB, free: 53.66 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.416, allocations: 4 kB / 0.5767 GB, free: 53.66 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.554e-05/0.416, allocations: 24.17 kB / 0.5768 GB, free: 53.65 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.4162, allocations: 204.4 kB / 0.577 GB, free: 53.44 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 5.358e-05/0.4162, allocations: 44.73 kB / 0.577 GB, free: 53.4 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.4163, allocations: 32.19 kB / 0.577 GB, free: 53.38 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 7.645e-06/0.4163, allocations: 0 / 0.577 GB, free: 53.38 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.4164, allocations: 104.1 kB / 0.5771 GB, free: 53.29 MB / 478.2 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.4164, allocations: 0 / 0.5771 GB, free: 53.29 MB / 478.2 MB Notification: Performance of matching and sorting (n=8): time 0.0002415/0.4166, allocations: 166.8 kB / 0.5773 GB, free: 53.19 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.4167, allocations: 80.05 kB / 0.5774 GB, free: 53.1 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.4168, allocations: 238.6 kB / 0.5776 GB, free: 52.96 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.4168, allocations: 26.92 kB / 0.5776 GB, free: 52.93 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.4169, allocations: 116.6 kB / 0.5777 GB, free: 52.83 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.4169, allocations: 20.45 kB / 0.5777 GB, free: 52.81 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.4169, allocations: 25.64 kB / 0.5778 GB, free: 52.79 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 4.162e-05/0.417, allocations: 333.7 kB / 0.5781 GB, free: 52.47 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.221e-05/0.417, allocations: 15.56 kB / 0.5781 GB, free: 52.46 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.4171, allocations: 19.55 kB / 0.5781 GB, free: 52.46 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.377e-05/0.4171, allocations: 109 kB / 0.5782 GB, free: 52.36 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4171, allocations: 0 / 0.5782 GB, free: 52.36 MB / 478.2 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001382/0.4173, allocations: 150.4 kB / 0.5784 GB, free: 52.27 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4173, allocations: 37.56 kB / 0.5784 GB, free: 52.23 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.4173, allocations: 0.5625 kB / 0.5784 GB, free: 52.23 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.4173, allocations: 1.25 kB / 0.5784 GB, free: 52.23 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.712e-05/0.4174, allocations: 11.97 kB / 0.5784 GB, free: 52.23 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.4174, allocations: 1.156 kB / 0.5784 GB, free: 52.23 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.4174, allocations: 3.906 kB / 0.5784 GB, free: 52.23 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.4175, allocations: 7.359 kB / 0.5784 GB, free: 52.23 MB / 478.2 MB 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 8.563e-05/0.4176, allocations: 177.5 kB / 0.5786 GB, free: 52.07 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.4176, allocations: 25.59 kB / 0.5786 GB, free: 52.05 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.4176, allocations: 20.39 kB / 0.5786 GB, free: 52.04 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4176, allocations: 0.5625 kB / 0.5786 GB, free: 52.04 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4176, allocations: 5.062 kB / 0.5786 GB, free: 52.04 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4176, allocations: 0 / 0.5786 GB, free: 52.04 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.4177, allocations: 223.4 kB / 0.5789 GB, free: 51.82 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4178, allocations: 3.938 kB / 0.5789 GB, free: 51.81 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.4178, allocations: 7.781 kB / 0.5789 GB, free: 51.81 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4178, allocations: 0 / 0.5789 GB, free: 51.81 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4178, allocations: 4.797 kB / 0.5789 GB, free: 51.81 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4178, allocations: 0.5156 kB / 0.5789 GB, free: 51.81 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4178, allocations: 1.125 kB / 0.5789 GB, free: 51.81 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.418, allocations: 197.9 kB / 0.5791 GB, free: 51.67 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.418, allocations: 104.9 kB / 0.5792 GB, free: 51.56 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.4181, allocations: 3.891 kB / 0.5792 GB, free: 51.56 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.736e-05/0.4181, allocations: 3.25 kB / 0.5792 GB, free: 51.56 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.4181, allocations: 2.484 kB / 0.5792 GB, free: 51.56 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.4181, allocations: 12.48 kB / 0.5792 GB, free: 51.56 MB / 478.2 MB Notification: Performance of sorting global known variables: time 0.0001041/0.4183, allocations: 174.8 kB / 0.5794 GB, free: 51.46 MB / 478.2 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4183, allocations: 0 / 0.5794 GB, free: 51.46 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.0002012/0.4185, allocations: 35.33 kB / 0.5794 GB, free: 51.46 MB / 478.2 MB 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.0001085/0.4186, allocations: 133.5 kB / 0.5795 GB, free: 51.36 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.4187, allocations: 138.6 kB / 0.5796 GB, free: 51.26 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.4187, allocations: 0 / 0.5796 GB, free: 51.26 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 6.735e-05/0.4188, allocations: 114.3 kB / 0.5798 GB, free: 51.17 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.419, allocations: 14.39 kB / 0.5798 GB, free: 51.16 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.4193, allocations: 301.3 kB / 0.5801 GB, free: 50.96 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.4195, allocations: 0.7201 MB / 0.5808 GB, free: 50.27 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 5.276e-05/0.4195, allocations: 25.73 kB / 0.5808 GB, free: 50.27 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.4196, allocations: 14.53 kB / 0.5808 GB, free: 50.26 MB / 478.2 MB Notification: Performance of SimCode: time 2.1e-07/0.4196, allocations: 0 / 0.5808 GB, free: 50.26 MB / 478.2 MB Notification: Performance of Templates: time 0.004103/0.4237, allocations: 1.441 MB / 0.5822 GB, free: 50.02 MB / 478.2 MB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches