Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001299/0.0013, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.001429/0.001429, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.333/1.333, allocations: 223.2 MB / 241.1 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7745/0.7745, allocations: 120.5 MB / 412.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 11.98 kB / 0.4942 GB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1403, allocations: 82.84 MB / 0.5751 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.001645/0.1419, allocations: 1.239 MB / 0.5763 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1431, allocations: 0.8074 MB / 0.5771 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.1432, allocations: 0 / 0.5771 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1434, allocations: 63.84 kB / 0.5771 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.1437, allocations: 91.77 kB / 0.5772 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1439, allocations: 91.69 kB / 0.5773 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.1441, allocations: 79.83 kB / 0.5774 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.1441, allocations: 8 kB / 0.5774 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1442, allocations: 55.81 kB / 0.5774 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.1443, allocations: 59.75 kB / 0.5775 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1444, allocations: 4 kB / 0.5775 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.1444, allocations: 23.94 kB / 0.5775 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1445, allocations: 59.86 kB / 0.5776 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.1446, allocations: 49.58 kB / 0.5776 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1447, allocations: 108 kB / 0.5777 GB, free: 5.398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1447, allocations: 0 / 0.5777 GB, free: 5.398 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1447, allocations: 0 / 0.5777 GB, free: 5.398 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1447, allocations: 0 / 0.5777 GB, free: 5.398 MB / 446.1 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.0005127/0.1453, allocations: 478.2 kB / 0.5782 GB, free: 4.883 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.1453, allocations: 12.03 kB / 0.5782 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.1453, allocations: 19.77 kB / 0.5782 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.1458, allocations: 338.1 kB / 0.5785 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1458, allocations: 4 kB / 0.5785 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1458, allocations: 0 / 0.5785 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.146, allocations: 49.67 kB / 0.5786 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.146, allocations: 0 / 0.5786 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.146, allocations: 4 kB / 0.5786 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.146, allocations: 3.953 kB / 0.5786 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.206e-05/0.1461, allocations: 12 kB / 0.5786 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.1463, allocations: 209.7 kB / 0.5788 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1464, allocations: 54.55 kB / 0.5789 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.1464, allocations: 0 / 0.5789 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.1466, allocations: 67.48 kB / 0.5789 GB, free: 4.008 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1466, allocations: 0 / 0.5789 GB, free: 4.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002551/0.1469, allocations: 101.4 kB / 0.579 GB, free: 3.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.1469, allocations: 55.41 kB / 0.5791 GB, free: 3.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.1472, allocations: 282.5 kB / 0.5793 GB, free: 3.551 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1472, allocations: 33.7 kB / 0.5794 GB, free: 3.512 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.1473, allocations: 128.1 kB / 0.5795 GB, free: 3.383 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.1473, allocations: 19.89 kB / 0.5795 GB, free: 3.363 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.1473, allocations: 0 / 0.5795 GB, free: 3.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1475, allocations: 330.8 kB / 0.5798 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.1475, allocations: 15.98 kB / 0.5798 GB, free: 3.016 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.1476, allocations: 29.7 kB / 0.5799 GB, free: 2.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.1476, allocations: 12 kB / 0.5799 GB, free: 2.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1476, allocations: 3.938 kB / 0.5799 GB, free: 2.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000151/0.1478, allocations: 101.6 kB / 0.58 GB, free: 2.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1478, allocations: 4 kB / 0.58 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1478, allocations: 0 / 0.58 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1478, allocations: 0 / 0.58 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/0.1479, allocations: 19.98 kB / 0.58 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1479, allocations: 0 / 0.58 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.148, allocations: 11.89 kB / 0.58 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.148, allocations: 0 / 0.58 GB, free: 2.824 MB / 446.1 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.1481, allocations: 156 kB / 0.5802 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.1482, allocations: 23.72 kB / 0.5802 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.1482, allocations: 25.3 kB / 0.5802 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1482, allocations: 0 / 0.5802 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1482, allocations: 0 / 0.5802 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1482, allocations: 0 / 0.5802 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.1484, allocations: 221.5 kB / 0.5804 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1484, allocations: 0 / 0.5804 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.1484, allocations: 4 kB / 0.5804 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1484, allocations: 3.938 kB / 0.5804 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.1484, allocations: 0 / 0.5804 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1484, allocations: 7.984 kB / 0.5804 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1484, allocations: 0 / 0.5804 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.1486, allocations: 120.8 kB / 0.5806 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.1487, allocations: 96.91 kB / 0.5807 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.1487, allocations: 4 kB / 0.5807 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.182e-05/0.1488, allocations: 3.984 kB / 0.5807 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.1488, allocations: 7.938 kB / 0.5807 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1488, allocations: 8 kB / 0.5807 GB, free: 2.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.149, allocations: 205.9 kB / 0.5809 GB, free: 1.855 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.149, allocations: 0 / 0.5809 GB, free: 1.855 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000218/0.1492, allocations: 20 kB / 0.5809 GB, free: 1.836 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008742/0.1501, allocations: 408 kB / 0.5813 GB, free: 1.594 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.1503, allocations: 39.98 kB / 0.5813 GB, free: 1.555 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1503, allocations: 0 / 0.5813 GB, free: 1.555 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.858e-05/0.1504, allocations: 27.98 kB / 0.5813 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.1506, allocations: 28.83 kB / 0.5814 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.1511, allocations: 347 kB / 0.5817 GB, free: 1.133 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1515, allocations: 0.7479 MB / 0.5824 GB, free: 368 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1516, allocations: 33.77 kB / 0.5825 GB, free: 336 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.1517, allocations: 35.41 kB / 0.5825 GB, free: 300 kB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1517, allocations: 0 / 0.5825 GB, free: 300 kB / 446.1 MB Notification: Performance of Templates: time 0.3993/0.551, allocations: 1.594 MB / 0.5841 GB, free: 15.54 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches