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.001655/0.001655, allocations: 107.3 kB / 16.51 MB, free: 6.707 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.001816/0.001817, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.387/1.387, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.003/1.003, allocations: 119.3 MB / 410.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 55.91 kB / 0.4902 GB, free: 14.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5225/0.5237, allocations: 80.69 MB / 0.569 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.00299/0.5267, allocations: 1.61 MB / 0.5706 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.5281, allocations: 0.8756 MB / 0.5715 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.923e-05/0.5282, allocations: 9.188 kB / 0.5715 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.5285, allocations: 56.42 kB / 0.5715 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.5288, allocations: 92.72 kB / 0.5716 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.529, allocations: 99.69 kB / 0.5717 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.5292, allocations: 117.2 kB / 0.5718 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.5293, allocations: 8.125 kB / 0.5718 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.5294, allocations: 63.5 kB / 0.5719 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.5295, allocations: 53.55 kB / 0.5719 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.5295, allocations: 4.094 kB / 0.5719 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.131e-05/0.5296, allocations: 30.75 kB / 0.572 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.5298, allocations: 71.77 kB / 0.572 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.5298, allocations: 59.5 kB / 0.5721 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.53, allocations: 149.7 kB / 0.5722 GB, free: 41.06 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.53, allocations: 0 / 0.5722 GB, free: 41.06 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.012e-06/0.5301, allocations: 0 / 0.5722 GB, free: 41.06 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.5301, allocations: 5.625 kB / 0.5723 GB, free: 41.06 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.0005763/0.5306, allocations: 492.9 kB / 0.5727 GB, free: 40.58 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5307, allocations: 9.562 kB / 0.5727 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.5308, allocations: 21.09 kB / 0.5728 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.5311, allocations: 325.6 kB / 0.5731 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.5312, allocations: 2.281 kB / 0.5731 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.5312, allocations: 9.594 kB / 0.5731 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.5313, allocations: 55.44 kB / 0.5731 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5313, allocations: 4 kB / 0.5731 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.5314, allocations: 0 / 0.5731 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.5314, allocations: 1.375 kB / 0.5731 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.114e-05/0.5314, allocations: 16.05 kB / 0.5731 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.5317, allocations: 207 kB / 0.5733 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.5318, allocations: 46.94 kB / 0.5734 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.5319, allocations: 33.16 kB / 0.5734 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.5319, allocations: 0.9062 kB / 0.5734 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.5321, allocations: 68.27 kB / 0.5735 GB, free: 39.85 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.5321, allocations: 0 / 0.5735 GB, free: 39.85 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002874/0.5324, allocations: 104.5 kB / 0.5736 GB, free: 39.78 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.5324, allocations: 56.81 kB / 0.5736 GB, free: 39.71 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.5327, allocations: 281.9 kB / 0.5739 GB, free: 39.53 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.5327, allocations: 34.92 kB / 0.5739 GB, free: 39.49 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.5328, allocations: 131.3 kB / 0.5741 GB, free: 39.37 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.5328, allocations: 18.39 kB / 0.5741 GB, free: 39.36 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.5329, allocations: 25.89 kB / 0.5741 GB, free: 39.33 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.5329, allocations: 329.9 kB / 0.5744 GB, free: 39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.533, allocations: 15.39 kB / 0.5744 GB, free: 39 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.5331, allocations: 28.3 kB / 0.5745 GB, free: 38.97 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.947e-05/0.5332, allocations: 43.19 kB / 0.5745 GB, free: 38.94 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5332, allocations: 0 / 0.5745 GB, free: 38.94 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001585/0.5333, allocations: 100.1 kB / 0.5746 GB, free: 38.87 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5334, allocations: 5.406 kB / 0.5746 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5334, allocations: 0 / 0.5746 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5334, allocations: 1.031 kB / 0.5746 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.5335, allocations: 12.72 kB / 0.5746 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5335, allocations: 5.781 kB / 0.5746 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.5335, allocations: 6.578 kB / 0.5746 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.5336, allocations: 3.094 kB / 0.5746 GB, free: 38.86 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 0.0001078/0.5337, allocations: 150.5 kB / 0.5748 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.5337, allocations: 25.83 kB / 0.5748 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.5338, allocations: 20.06 kB / 0.5748 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.5338, allocations: 0 / 0.5748 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5338, allocations: 5.547 kB / 0.5748 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.5338, allocations: 0 / 0.5748 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.534, allocations: 220.1 kB / 0.575 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.534, allocations: 0 / 0.575 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.534, allocations: 3.125 kB / 0.575 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.534, allocations: 1.094 kB / 0.575 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.534, allocations: 1.531 kB / 0.575 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.534, allocations: 4 kB / 0.575 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.534, allocations: 1.094 kB / 0.575 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.5342, allocations: 126.2 kB / 0.5752 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.5343, allocations: 101.9 kB / 0.5753 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.5344, allocations: 6.438 kB / 0.5753 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.139e-05/0.5344, allocations: 1.312 kB / 0.5753 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.5344, allocations: 2.5 kB / 0.5753 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.5345, allocations: 2.781 kB / 0.5753 GB, free: 38.23 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001941/0.5347, allocations: 208 kB / 0.5755 GB, free: 38.09 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5347, allocations: 0 / 0.5755 GB, free: 38.09 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000222/0.5349, allocations: 22.91 kB / 0.5755 GB, free: 38.08 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.0008684/0.5358, allocations: 421.8 kB / 0.5759 GB, free: 37.88 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.536, allocations: 43.45 kB / 0.5759 GB, free: 37.86 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.536, allocations: 0 / 0.5759 GB, free: 37.86 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.841e-05/0.536, allocations: 20.02 kB / 0.576 GB, free: 37.85 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.5363, allocations: 32.62 kB / 0.576 GB, free: 37.83 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.5368, allocations: 368.6 kB / 0.5763 GB, free: 37.56 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.537, allocations: 0.737 MB / 0.5771 GB, free: 36.84 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.5371, allocations: 37.34 kB / 0.5771 GB, free: 36.82 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.5372, allocations: 30.53 kB / 0.5771 GB, free: 36.81 MB / 462.3 MB Notification: Performance of SimCode: time 3.5e-07/0.5372, allocations: 0 / 0.5771 GB, free: 36.81 MB / 462.3 MB Notification: Performance of Templates: time 0.004627/0.5418, allocations: 1.64 MB / 0.5787 GB, free: 35.99 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/jenkins/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