Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 102.2 kB / 17.16 MB, free: 6.324 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.001373/0.001373, allocations: 202.9 kB / 18.08 MB, free: 5.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.337/1.337, allocations: 222.9 MB / 241.8 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9273/0.9273, allocations: 119.3 MB / 411.2 MB, free: 9.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 0.4909 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5125, allocations: 80.67 MB / 0.5697 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002648/0.5152, allocations: 1.613 MB / 0.5713 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.5164, allocations: 0.8842 MB / 0.5721 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.5165, allocations: 0 / 0.5721 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.5168, allocations: 65.55 kB / 0.5722 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.5171, allocations: 88.22 kB / 0.5723 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.5173, allocations: 95.17 kB / 0.5724 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.5175, allocations: 121.8 kB / 0.5725 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.5175, allocations: 5.438 kB / 0.5725 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.5177, allocations: 65.7 kB / 0.5725 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.5178, allocations: 55.06 kB / 0.5726 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.5178, allocations: 2.688 kB / 0.5726 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.52e-05/0.5179, allocations: 39.23 kB / 0.5726 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.518, allocations: 59.25 kB / 0.5727 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.5181, allocations: 56.11 kB / 0.5727 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.5183, allocations: 121 kB / 0.5729 GB, free: 40.63 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.5183, allocations: 1.531 kB / 0.5729 GB, free: 40.63 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.01e-07/0.5183, allocations: 3.938 kB / 0.5729 GB, free: 40.62 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.5183, allocations: 0 / 0.5729 GB, free: 40.62 MB / 462.3 MB 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.0005147/0.5188, allocations: 489 kB / 0.5733 GB, free: 40.15 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.5189, allocations: 10.53 kB / 0.5733 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.5189, allocations: 25.08 kB / 0.5734 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.5193, allocations: 333.4 kB / 0.5737 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.5193, allocations: 5.719 kB / 0.5737 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.5193, allocations: 5.688 kB / 0.5737 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.5194, allocations: 50.95 kB / 0.5737 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5195, allocations: 1.188 kB / 0.5737 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5195, allocations: 0 / 0.5737 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.5195, allocations: 5.281 kB / 0.5737 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.552e-05/0.5196, allocations: 15.7 kB / 0.5738 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.5197, allocations: 207.1 kB / 0.574 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.5199, allocations: 54.94 kB / 0.574 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.52, allocations: 25.03 kB / 0.574 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.52, allocations: 1.375 kB / 0.574 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.5202, allocations: 67.67 kB / 0.5741 GB, free: 39.41 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.5202, allocations: 1.375 kB / 0.5741 GB, free: 39.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002688/0.5204, allocations: 110.7 kB / 0.5742 GB, free: 39.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.5205, allocations: 52.78 kB / 0.5743 GB, free: 39.27 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.5207, allocations: 278.7 kB / 0.5745 GB, free: 39.09 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.5207, allocations: 27.39 kB / 0.5745 GB, free: 39.06 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.5208, allocations: 139.3 kB / 0.5747 GB, free: 38.93 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.5208, allocations: 13.41 kB / 0.5747 GB, free: 38.92 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.5209, allocations: 22.52 kB / 0.5747 GB, free: 38.9 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.5209, allocations: 330.9 kB / 0.575 GB, free: 38.57 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.521, allocations: 19.02 kB / 0.5751 GB, free: 38.56 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.802e-05/0.521, allocations: 28.33 kB / 0.5751 GB, free: 38.54 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.5211, allocations: 43.25 kB / 0.5751 GB, free: 38.51 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5211, allocations: 0 / 0.5751 GB, free: 38.51 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001416/0.5213, allocations: 95.95 kB / 0.5752 GB, free: 38.44 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5213, allocations: 4.188 kB / 0.5752 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5213, allocations: 5.406 kB / 0.5752 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.5213, allocations: 1.406 kB / 0.5752 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.085e-05/0.5214, allocations: 13.12 kB / 0.5752 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.5214, allocations: 0 / 0.5752 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.5215, allocations: 6.781 kB / 0.5752 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.5215, allocations: 6.484 kB / 0.5752 GB, free: 38.43 MB / 462.3 MB 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 9.088e-05/0.5216, allocations: 142.6 kB / 0.5754 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.5216, allocations: 21.91 kB / 0.5754 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.5216, allocations: 23.23 kB / 0.5754 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5217, allocations: 9.156 kB / 0.5754 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5217, allocations: 0 / 0.5754 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.5217, allocations: 5.453 kB / 0.5754 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.5218, allocations: 215.1 kB / 0.5756 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5218, allocations: 5.344 kB / 0.5756 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.947e-05/0.5218, allocations: 6.984 kB / 0.5757 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.5218, allocations: 0 / 0.5757 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.5218, allocations: 2.375 kB / 0.5757 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5219, allocations: 4 kB / 0.5757 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5219, allocations: 0 / 0.5757 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.522, allocations: 130.6 kB / 0.5758 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.5221, allocations: 94.8 kB / 0.5759 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.5221, allocations: 5.266 kB / 0.5759 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.126e-05/0.5222, allocations: 9.297 kB / 0.5759 GB, free: 37.79 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.5222, allocations: 2.469 kB / 0.5759 GB, free: 37.79 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.5222, allocations: 2.688 kB / 0.5759 GB, free: 37.79 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001671/0.5224, allocations: 204.4 kB / 0.5761 GB, free: 37.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5224, allocations: 4 kB / 0.5761 GB, free: 37.65 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002152/0.5226, allocations: 23.58 kB / 0.5761 GB, free: 37.64 MB / 462.3 MB 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.0008611/0.5235, allocations: 406.1 kB / 0.5765 GB, free: 37.45 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.5237, allocations: 38.86 kB / 0.5765 GB, free: 37.43 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5237, allocations: 1.5 kB / 0.5765 GB, free: 37.43 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.5237, allocations: 26.92 kB / 0.5766 GB, free: 37.42 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.524, allocations: 34.41 kB / 0.5766 GB, free: 37.4 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.5245, allocations: 391.9 kB / 0.577 GB, free: 37.11 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.5247, allocations: 0.735 MB / 0.5777 GB, free: 36.38 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.5248, allocations: 28.86 kB / 0.5777 GB, free: 36.36 MB / 462.3 MB Notification: Performance of SimCode: time 3.41e-07/0.5248, allocations: 3.938 kB / 0.5777 GB, free: 36.36 MB / 462.3 MB Notification: Performance of Templates: time 0.004176/0.5289, allocations: 2.549 MB / 0.5802 GB, free: 35.05 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches