Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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.001842/0.001842, allocations: 80.36 kB / 20.68 MB, free: 1.039 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.002189/0.002189, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.646/1.646, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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 1.224/1.224, allocations: 88.07 MB / 348.7 MB, free: 1.797 MB / 318.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.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 3.938 kB / 0.5235 GB, free: 8.328 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.092e-05, allocations: 6.219 kB / 0.5235 GB, free: 8.32 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002678/0.002709, allocations: 1.573 MB / 0.525 GB, free: 7.09 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.004287, allocations: 0.9806 MB / 0.526 GB, free: 6.359 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.487e-05/0.004372, allocations: 4.875 kB / 0.526 GB, free: 6.355 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 0.0009915/0.005364, allocations: 0.9029 MB / 0.5269 GB, free: 5.891 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0009025/0.006266, allocations: 0.5665 MB / 0.5274 GB, free: 5.582 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.0065, allocations: 82.53 kB / 0.5275 GB, free: 5.52 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.00752, allocations: 1.179 MB / 0.5287 GB, free: 4.934 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.007568, allocations: 2.5 kB / 0.5287 GB, free: 4.934 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007347/0.008302, allocations: 0.6576 MB / 0.5293 GB, free: 4.578 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009579/0.00926, allocations: 1.168 MB / 0.5304 GB, free: 3.812 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.009389, allocations: 68 kB / 0.5305 GB, free: 3.746 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.009591, allocations: 95.94 kB / 0.5306 GB, free: 3.652 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 0.002009/0.0116, allocations: 2.642 MB / 0.5332 GB, free: 1.004 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0005146/0.01211, allocations: 0.6097 MB / 0.5338 GB, free: 400 kB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.002831/0.01495, allocations: 2.841 MB / 0.5365 GB, free: 13.54 MB / 462.2 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.01495, allocations: 8 kB / 0.5365 GB, free: 13.53 MB / 462.2 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01496, allocations: 0 / 0.5365 GB, free: 13.53 MB / 462.2 MB Notification: Performance of Transformations before backend: time 5.35e-05/0.01501, allocations: 7.875 kB / 0.5366 GB, free: 13.52 MB / 462.2 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.006841/0.02185, allocations: 5.256 MB / 0.5417 GB, free: 8.188 MB / 462.2 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.02191, allocations: 12.03 kB / 0.5417 GB, free: 8.176 MB / 462.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007658/0.02267, allocations: 0.5867 MB / 0.5423 GB, free: 7.586 MB / 462.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.03483, allocations: 6.345 MB / 0.5485 GB, free: 1.137 MB / 462.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.03485, allocations: 384 / 0.5485 GB, free: 1.137 MB / 462.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.03487, allocations: 4.375 kB / 0.5485 GB, free: 1.133 MB / 462.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.0351, allocations: 58.16 kB / 0.5485 GB, free: 1.07 MB / 462.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.03511, allocations: 7.938 kB / 0.5485 GB, free: 1.062 MB / 462.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.03513, allocations: 3.984 kB / 0.5485 GB, free: 1.059 MB / 462.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.03514, allocations: 0 / 0.5485 GB, free: 1.059 MB / 462.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.679e-05/0.03523, allocations: 15.94 kB / 0.5486 GB, free: 1.043 MB / 462.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.03803, allocations: 1.775 MB / 0.5503 GB, free: 15.24 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.03823, allocations: 50.62 kB / 0.5503 GB, free: 15.18 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.0383, allocations: 20.84 kB / 0.5504 GB, free: 15.16 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.03831, allocations: 0 / 0.5504 GB, free: 15.16 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.03851, allocations: 75.28 kB / 0.5504 GB, free: 15.07 MB / 478.2 MB Notification: Performance of pre-optimization done (n=5): time 1.954e-06/0.03851, allocations: 0 / 0.5504 GB, free: 15.07 MB / 478.2 MB Notification: Performance of matching and sorting (n=5): time 0.001194/0.0397, allocations: 0.6928 MB / 0.5511 GB, free: 14.37 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.03976, allocations: 55.41 kB / 0.5512 GB, free: 14.3 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008672/0.04843, allocations: 6.451 MB / 0.5575 GB, free: 7.895 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.04847, allocations: 25.7 kB / 0.5575 GB, free: 7.863 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.002569/0.05104, allocations: 2.528 MB / 0.56 GB, free: 5.332 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.05109, allocations: 15.84 kB / 0.56 GB, free: 5.316 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/0.05118, allocations: 29.69 kB / 0.56 GB, free: 5.281 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.05133, allocations: 306 kB / 0.5603 GB, free: 4.977 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.05141, allocations: 15.98 kB / 0.5603 GB, free: 4.961 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.05149, allocations: 33.7 kB / 0.5603 GB, free: 4.922 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.05162, allocations: 49.64 kB / 0.5604 GB, free: 4.867 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.05162, allocations: 256 / 0.5604 GB, free: 4.867 MB / 478.2 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001273/0.0529, allocations: 0.6889 MB / 0.5611 GB, free: 4.168 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.05292, allocations: 4 kB / 0.5611 GB, free: 4.164 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.05293, allocations: 3.938 kB / 0.5611 GB, free: 4.16 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.05295, allocations: 0 / 0.5611 GB, free: 4.16 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.05306, allocations: 12 kB / 0.5611 GB, free: 4.148 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.05306, allocations: 0 / 0.5611 GB, free: 4.148 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.0536, allocations: 19.98 kB / 0.5611 GB, free: 4.129 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.0536, allocations: 4 kB / 0.5611 GB, free: 4.125 MB / 478.2 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.00187/0.05547, allocations: 1.281 MB / 0.5623 GB, free: 2.836 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007735/0.05625, allocations: 0.6209 MB / 0.563 GB, free: 2.211 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009857/0.05723, allocations: 0.7397 MB / 0.5637 GB, free: 1.465 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.05724, allocations: 0 / 0.5637 GB, free: 1.465 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.05724, allocations: 7.875 kB / 0.5637 GB, free: 1.457 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.05725, allocations: 0 / 0.5637 GB, free: 1.457 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.05948, allocations: 1.943 MB / 0.5656 GB, free: 15.48 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.05948, allocations: 0 / 0.5656 GB, free: 15.48 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.05953, allocations: 4 kB / 0.5656 GB, free: 15.48 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.05953, allocations: 0 / 0.5656 GB, free: 15.48 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.05955, allocations: 7.984 kB / 0.5656 GB, free: 15.47 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.05955, allocations: 3.938 kB / 0.5656 GB, free: 15.47 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.05955, allocations: 4 kB / 0.5656 GB, free: 15.46 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008625/0.06042, allocations: 0.7559 MB / 0.5663 GB, free: 14.69 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006348/0.06105, allocations: 479.9 kB / 0.5668 GB, free: 14.21 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.06128, allocations: 20.17 kB / 0.5668 GB, free: 14.2 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.0616, allocations: 27.94 kB / 0.5668 GB, free: 14.17 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.06165, allocations: 0 / 0.5668 GB, free: 14.17 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.06167, allocations: 7.984 kB / 0.5669 GB, free: 14.16 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.007138/0.06881, allocations: 4.424 MB / 0.5712 GB, free: 9.777 MB / 494.2 MB Notification: Performance of sort global known variables: time 1.5e-07/0.06881, allocations: 0 / 0.5712 GB, free: 9.777 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.0008571/0.06966, allocations: 179.9 kB / 0.5713 GB, free: 9.602 MB / 494.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: 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.001774/0.07144, allocations: 435.1 kB / 0.5718 GB, free: 9.355 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.0717, allocations: 47.92 kB / 0.5718 GB, free: 9.309 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.0717, allocations: 0 / 0.5718 GB, free: 9.309 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.07178, allocations: 19.98 kB / 0.5718 GB, free: 9.289 MB / 494.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.0734, allocations: 468.4 kB / 0.5723 GB, free: 8.836 MB / 494.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.08622, allocations: 8.585 MB / 0.5807 GB, free: 216 kB / 494.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/0.08877, allocations: 2.206 MB / 0.5828 GB, free: 13.98 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.002952/0.09172, allocations: 1.395 MB / 0.5842 GB, free: 12.57 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009553/0.09268, allocations: 0.5704 MB / 0.5847 GB, free: 12 MB / 0.4983 GB Notification: Performance of SimCode: time 1.363e-06/0.09268, allocations: 0 / 0.5847 GB, free: 12 MB / 0.4983 GB Notification: Performance of Templates: time 0.04916/0.1418, allocations: 14.74 MB / 0.5991 GB, free: 13.28 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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: 6.5209149196743965]