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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 107.9 kB / 20.44 MB, free: 1.348 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 214.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.363/1.363, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.8877/0.8877, allocations: 120.6 MB / 434.5 MB, free: 0.6641 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.91 kB / 0.6071 GB, free: 10.29 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1359, allocations: 85.87 MB / 0.691 GB, free: 4.215 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.00285/0.1387, allocations: 1.568 MB / 0.6925 GB, free: 2.637 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1404, allocations: 0.99 MB / 0.6935 GB, free: 1.641 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.1405, allocations: 0 / 0.6935 GB, free: 1.641 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.1408, allocations: 55.73 kB / 0.6936 GB, free: 1.586 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004556/0.1412, allocations: 159.4 kB / 0.6937 GB, free: 1.43 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.1414, allocations: 67.75 kB / 0.6938 GB, free: 1.363 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1416, allocations: 143.6 kB / 0.6939 GB, free: 1.223 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.1417, allocations: 7.984 kB / 0.6939 GB, free: 1.215 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.1419, allocations: 79.69 kB / 0.694 GB, free: 1.137 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.142, allocations: 59.77 kB / 0.694 GB, free: 1.078 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.142, allocations: 4 kB / 0.6941 GB, free: 1.074 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.842e-05/0.1421, allocations: 31.98 kB / 0.6941 GB, free: 1.043 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1423, allocations: 79.73 kB / 0.6942 GB, free: 0.9648 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.1423, allocations: 47.59 kB / 0.6942 GB, free: 0.918 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.1426, allocations: 163.1 kB / 0.6944 GB, free: 0.7578 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1426, allocations: 4 kB / 0.6944 GB, free: 0.7539 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1426, allocations: 4 kB / 0.6944 GB, free: 0.75 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.1426, allocations: 0 / 0.6944 GB, free: 0.75 MB / 0.5139 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.0005868/0.1432, allocations: 420.8 kB / 0.6948 GB, free: 316 kB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.1432, allocations: 11.97 kB / 0.6948 GB, free: 304 kB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.1433, allocations: 28.8 kB / 0.6948 GB, free: 276 kB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.1438, allocations: 285 kB / 0.6951 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1438, allocations: 4.375 kB / 0.6951 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.1438, allocations: 4.125 kB / 0.6951 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1439, allocations: 49.67 kB / 0.6951 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1439, allocations: 0 / 0.6951 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1439, allocations: 0 / 0.6951 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.1439, allocations: 0 / 0.6951 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.509e-05/0.144, allocations: 19.92 kB / 0.6952 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.1442, allocations: 161.3 kB / 0.6953 GB, free: 15.7 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1444, allocations: 62.55 kB / 0.6954 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.1444, allocations: 16.86 kB / 0.6954 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.1445, allocations: 4 kB / 0.6954 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.1446, allocations: 67.31 kB / 0.6954 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1446, allocations: 0 / 0.6954 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of matching and sorting (n=5): time 0.0002861/0.1449, allocations: 113.5 kB / 0.6956 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1449, allocations: 55.41 kB / 0.6956 GB, free: 15.34 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.1452, allocations: 292.2 kB / 0.6959 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1452, allocations: 25.7 kB / 0.6959 GB, free: 15.01 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.1453, allocations: 144.1 kB / 0.6961 GB, free: 14.87 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.1454, allocations: 15.84 kB / 0.6961 GB, free: 14.85 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.1454, allocations: 21.72 kB / 0.6961 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1455, allocations: 330.8 kB / 0.6964 GB, free: 14.49 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/0.1456, allocations: 19.98 kB / 0.6964 GB, free: 14.47 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.677e-05/0.1457, allocations: 21.72 kB / 0.6964 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1458, allocations: 49.64 kB / 0.6965 GB, free: 14.39 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1458, allocations: 0 / 0.6965 GB, free: 14.39 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001787/0.1459, allocations: 105.8 kB / 0.6966 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.146, allocations: 4 kB / 0.6966 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.146, allocations: 7.938 kB / 0.6966 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.146, allocations: 0 / 0.6966 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.247e-05/0.146, allocations: 15.94 kB / 0.6966 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.146, allocations: 0 / 0.6966 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.1461, allocations: 7.984 kB / 0.6966 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.1461, allocations: 4 kB / 0.6966 GB, free: 14.24 MB / 0.5295 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.0001208/0.1462, allocations: 141.8 kB / 0.6968 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.1463, allocations: 27.8 kB / 0.6968 GB, free: 14.07 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.1465, allocations: 111.1 kB / 0.6969 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1465, allocations: 0 / 0.6969 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1465, allocations: 0 / 0.6969 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1465, allocations: 0 / 0.6969 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.1466, allocations: 169.2 kB / 0.6971 GB, free: 13.76 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1466, allocations: 0 / 0.6971 GB, free: 13.76 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.1467, allocations: 4 kB / 0.6971 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1467, allocations: 7.922 kB / 0.6971 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1467, allocations: 0 / 0.6971 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1467, allocations: 0 / 0.6971 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1467, allocations: 0 / 0.6971 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.1469, allocations: 133 kB / 0.6972 GB, free: 13.6 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.1469, allocations: 27.78 kB / 0.6972 GB, free: 13.57 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.147, allocations: 3.938 kB / 0.6972 GB, free: 13.57 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.04e-05/0.147, allocations: 4 kB / 0.6972 GB, free: 13.56 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.147, allocations: 11.92 kB / 0.6972 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1471, allocations: 4 kB / 0.6972 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0002104/0.1473, allocations: 215 kB / 0.6974 GB, free: 13.34 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1473, allocations: 0 / 0.6974 GB, free: 13.34 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002173/0.1475, allocations: 23.94 kB / 0.6975 GB, free: 13.31 MB / 0.5295 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001604/0.1491, allocations: 438.4 kB / 0.6979 GB, free: 13.06 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.1493, allocations: 43.92 kB / 0.6979 GB, free: 13.02 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1493, allocations: 0 / 0.6979 GB, free: 13.02 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.1493, allocations: 23.92 kB / 0.698 GB, free: 13 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.1496, allocations: 40.89 kB / 0.698 GB, free: 12.95 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005356/0.1501, allocations: 331.9 kB / 0.6983 GB, free: 12.6 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.1502, allocations: 131.9 kB / 0.6984 GB, free: 12.46 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 9.764e-05/0.1503, allocations: 37.86 kB / 0.6985 GB, free: 12.41 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.1504, allocations: 27.41 kB / 0.6985 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of SimCode: time 3e-07/0.1504, allocations: 0 / 0.6985 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of Templates: time 0.005229/0.1556, allocations: 1.998 MB / 0.7005 GB, free: 10.41 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile [Timeout 300] (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) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.153890527784824]