Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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.001195/0.001195, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001404/0.001404, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.398/1.398, allocations: 177.2 MB / 204.9 MB, free: 8.984 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 0.9322/0.9322, allocations: 88.07 MB / 349.3 MB, free: 1.363 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.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [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.002037/0.002037, allocations: 71.41 kB / 0.524 GB, free: 8.242 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1771, allocations: 85.84 MB / 0.6078 GB, free: 4.871 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002882/0.18, allocations: 1.427 MB / 0.6092 GB, free: 3.438 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1812, allocations: 0.5454 MB / 0.6097 GB, free: 2.887 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.1813, allocations: 0 / 0.6097 GB, free: 2.887 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.1828, allocations: 1.719 MB / 0.6114 GB, free: 1.164 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.1844, allocations: 1.774 MB / 0.6132 GB, free: 15.39 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.1848, allocations: 79.78 kB / 0.6132 GB, free: 15.31 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.004061/0.1888, allocations: 4.311 MB / 0.6174 GB, free: 10.99 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.1889, allocations: 7.875 kB / 0.6175 GB, free: 10.98 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002862/0.1917, allocations: 2.153 MB / 0.6196 GB, free: 8.828 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004992/0.1967, allocations: 4.539 MB / 0.624 GB, free: 4.281 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0006587/0.1974, allocations: 256 kB / 0.6242 GB, free: 4.031 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000636/0.198, allocations: 319.9 kB / 0.6245 GB, free: 3.719 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.01223/0.2102, allocations: 10.36 MB / 0.6347 GB, free: 9.336 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.006247/0.2165, allocations: 4.044 MB / 0.6386 GB, free: 5.25 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01298/0.2295, allocations: 12.78 MB / 0.6511 GB, free: 8.387 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2295, allocations: 0 / 0.6511 GB, free: 8.387 MB / 0.5608 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2295, allocations: 0 / 0.6511 GB, free: 8.387 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0003828/0.2299, allocations: 4 kB / 0.6511 GB, free: 8.383 MB / 0.5608 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.03056/0.2604, allocations: 20.34 MB / 0.6709 GB, free: 3.832 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2605, allocations: 8.031 kB / 0.671 GB, free: 3.824 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.2637, allocations: 2.329 MB / 0.6732 GB, free: 1.48 MB / 0.5764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7028/0.9666, allocations: 26.13 MB / 0.6987 GB, free: 61.39 MB / 0.5923 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.9666, allocations: 2.453 kB / 0.6987 GB, free: 61.39 MB / 0.5923 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.9668, allocations: 65 kB / 0.6988 GB, free: 61.39 MB / 0.5923 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.9681, allocations: 0.8117 MB / 0.6996 GB, free: 61.32 MB / 0.5923 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.9681, allocations: 3.938 kB / 0.6996 GB, free: 61.32 MB / 0.5923 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.9682, allocations: 67.53 kB / 0.6997 GB, free: 61.32 MB / 0.5923 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.9682, allocations: 0.6562 kB / 0.6997 GB, free: 61.32 MB / 0.5923 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007264/0.969, allocations: 487.7 kB / 0.7001 GB, free: 61.28 MB / 0.5923 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/0.9848, allocations: 6.798 MB / 0.7068 GB, free: 58.92 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.9861, allocations: 315.9 kB / 0.7071 GB, free: 58.86 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.9866, allocations: 303.2 kB / 0.7074 GB, free: 58.81 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.9866, allocations: 1.438 kB / 0.7074 GB, free: 58.81 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009675/0.9876, allocations: 0.7381 MB / 0.7081 GB, free: 58.69 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.705e-06/0.9876, allocations: 0 / 0.7081 GB, free: 58.69 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.007978/0.9955, allocations: 4.424 MB / 0.7124 GB, free: 57.54 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.9956, allocations: 79.98 kB / 0.7125 GB, free: 57.45 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03234/1.028, allocations: 24.84 MB / 0.7367 GB, free: 41.75 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0007843/1.029, allocations: 89.7 kB / 0.7368 GB, free: 41.66 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.008897/1.038, allocations: 10.83 MB / 0.7474 GB, free: 30.82 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/1.039, allocations: 83.69 kB / 0.7475 GB, free: 30.75 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00198/1.041, allocations: 469.3 kB / 0.7479 GB, free: 30.29 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/1.041, allocations: 306 kB / 0.7482 GB, free: 29.98 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008223/1.042, allocations: 297.7 kB / 0.7485 GB, free: 29.68 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/1.042, allocations: 299.3 kB / 0.7488 GB, free: 29.39 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009443/1.043, allocations: 0.595 MB / 0.7494 GB, free: 28.78 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.043, allocations: 0 / 0.7494 GB, free: 28.78 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006694/1.05, allocations: 4.132 MB / 0.7534 GB, free: 24.62 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 6.252e-05/1.05, allocations: 39.75 kB / 0.7534 GB, free: 24.57 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.05, allocations: 4.812 kB / 0.7534 GB, free: 24.57 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/1.05, allocations: 0 / 0.7534 GB, free: 24.57 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/1.05, allocations: 4 kB / 0.7534 GB, free: 24.57 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.05, allocations: 0 / 0.7534 GB, free: 24.57 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005918/1.056, allocations: 72.78 kB / 0.7535 GB, free: 24.5 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006929/1.057, allocations: 0.8594 MB / 0.7544 GB, free: 23.64 MB / 0.5923 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.007117/1.064, allocations: 4.913 MB / 0.7592 GB, free: 18.71 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004419/1.068, allocations: 2.386 MB / 0.7615 GB, free: 16.31 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0056/1.074, allocations: 2.573 MB / 0.764 GB, free: 13.73 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.074, allocations: 6.125 kB / 0.764 GB, free: 13.73 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.074, allocations: 0 / 0.764 GB, free: 13.73 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/1.074, allocations: 3.938 kB / 0.764 GB, free: 13.72 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/1.092, allocations: 7.412 MB / 0.7712 GB, free: 6.277 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.092, allocations: 2.438 kB / 0.7712 GB, free: 6.277 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/1.092, allocations: 4 kB / 0.7712 GB, free: 6.273 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/1.092, allocations: 0 / 0.7712 GB, free: 6.273 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009848/1.093, allocations: 198.1 kB / 0.7714 GB, free: 6.082 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/1.093, allocations: 3.938 kB / 0.7714 GB, free: 6.078 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.093, allocations: 0 / 0.7714 GB, free: 6.078 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007487/1.1, allocations: 4.316 MB / 0.7757 GB, free: 1.719 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00468/1.105, allocations: 2.027 MB / 0.7776 GB, free: 15.67 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002122/1.107, allocations: 70 kB / 0.7777 GB, free: 15.61 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/1.109, allocations: 67.75 kB / 0.7778 GB, free: 15.54 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/1.109, allocations: 4 kB / 0.7778 GB, free: 15.54 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009245/1.11, allocations: 0.8631 MB / 0.7786 GB, free: 14.68 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.03417/1.144, allocations: 17.24 MB / 0.7954 GB, free: 13.59 MB / 0.6235 GB Notification: Performance of sort global known variables: time 2.91e-07/1.144, allocations: 0 / 0.7954 GB, free: 13.59 MB / 0.6235 GB Notification: Performance of remove unused functions: time 0.004729/1.149, allocations: 0.6464 MB / 0.7961 GB, free: 12.95 MB / 0.6235 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001004/1.15, allocations: 185.4 kB / 0.7963 GB, free: 12.76 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.002859/1.153, allocations: 0.7215 MB / 0.797 GB, free: 12.02 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.153, allocations: 2 kB / 0.797 GB, free: 12.02 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.0009589/1.154, allocations: 425.1 kB / 0.7974 GB, free: 11.58 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008367/1.162, allocations: 1.692 MB / 0.799 GB, free: 9.887 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0579/1.22, allocations: 35.26 MB / 0.8335 GB, free: 6.785 MB / 0.6548 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01389/1.234, allocations: 8.637 MB / 0.8419 GB, free: 14.11 MB / 0.6704 GB Notification: Performance of simCode: alias equations: time 0.01274/1.247, allocations: 4.702 MB / 0.8465 GB, free: 9.41 MB / 0.6704 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002342/1.249, allocations: 0.9889 MB / 0.8474 GB, free: 8.422 MB / 0.6704 GB Notification: Performance of SimCode: time 1.543e-06/1.249, allocations: 3.938 kB / 0.8475 GB, free: 8.418 MB / 0.6704 GB Notification: Performance of Templates: time 0.2268/1.476, allocations: 82.19 MB / 0.9277 GB, free: 6.027 MB / 0.7485 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -s ida -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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: 9.719016550923698]