Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.0009481/0.0009481, allocations: 76.41 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001061/0.001061, allocations: 165.8 kB / 24.99 MB, free: 8.793 MB / 18.57 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 0.9969/0.9969, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.7157/0.7157, allocations: 88.08 MB / 349.9 MB, free: 14.29 MB / 330.7 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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 451.6 MB, free: 33.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.864e-05/4.088e-05, allocations: 9.484 kB / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002937/0.002978, allocations: 1.454 MB / 453 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.00409, allocations: 0.582 MB / 453.6 MB, free: 32.01 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.004178, allocations: 3.938 kB / 453.6 MB, free: 32.01 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.004655, allocations: 451 kB / 454 MB, free: 31.93 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006472/0.005302, allocations: 489.8 kB / 454.5 MB, free: 31.84 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.005674, allocations: 83.5 kB / 454.6 MB, free: 31.8 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0009304/0.006605, allocations: 1.133 MB / 455.7 MB, free: 31.58 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.086e-05/0.006666, allocations: 2.906 kB / 455.7 MB, free: 31.58 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.007736, allocations: 0.6377 MB / 456.4 MB, free: 31.43 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.009341, allocations: 1.154 MB / 457.5 MB, free: 31.27 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.009521, allocations: 64.94 kB / 457.6 MB, free: 31.27 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.009747, allocations: 129.9 kB / 457.7 MB, free: 31.25 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001715/0.01146, allocations: 2.626 MB / 460.4 MB, free: 30.43 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005132/0.01197, allocations: 0.6098 MB / 461 MB, free: 30.09 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.01328, allocations: 2.586 MB / 463.5 MB, free: 29.06 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01328, allocations: 2.812 kB / 463.6 MB, free: 29.06 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01329, allocations: 0 / 463.6 MB, free: 29.06 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.946e-05/0.01333, allocations: 0 / 463.6 MB, free: 29.06 MB / 410.8 MB 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.003302/0.01663, allocations: 5.574 MB / 469.1 MB, free: 25.08 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.01667, allocations: 7.875 kB / 469.1 MB, free: 25.08 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.0171, allocations: 0.5893 MB / 469.7 MB, free: 24.73 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006644/0.02374, allocations: 5.24 MB / 475 MB, free: 22.23 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.02376, allocations: 5.25 kB / 475 MB, free: 22.23 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.02382, allocations: 18.81 kB / 475 MB, free: 22.23 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.02428, allocations: 274.2 kB / 475.3 MB, free: 22.16 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.02429, allocations: 1.125 kB / 475.3 MB, free: 22.16 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.02435, allocations: 20.97 kB / 475.3 MB, free: 22.15 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.02436, allocations: 3.938 kB / 475.3 MB, free: 22.15 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.02463, allocations: 151 kB / 475.4 MB, free: 22.12 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.02739, allocations: 2.37 MB / 477.8 MB, free: 21.02 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.02758, allocations: 129.4 kB / 477.9 MB, free: 20.95 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.02776, allocations: 115.2 kB / 478 MB, free: 20.9 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.02777, allocations: 1.281 kB / 478 MB, free: 20.9 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003213/0.02809, allocations: 294.1 kB / 478.3 MB, free: 20.77 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 2.174e-06/0.02809, allocations: 0 / 478.3 MB, free: 20.77 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.001711/0.0298, allocations: 1.267 MB / 479.6 MB, free: 20.28 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.02984, allocations: 91.03 kB / 479.7 MB, free: 20.18 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006544/0.03639, allocations: 5.624 MB / 485.3 MB, free: 18.14 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.03643, allocations: 42.2 kB / 485.3 MB, free: 18.11 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.03797, allocations: 2.863 MB / 488.2 MB, free: 15.89 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.03804, allocations: 34.33 kB / 488.2 MB, free: 15.88 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.03822, allocations: 139.5 kB / 488.4 MB, free: 15.85 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.03833, allocations: 485.8 kB / 488.9 MB, free: 15.37 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.03846, allocations: 111.1 kB / 489 MB, free: 15.33 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.03857, allocations: 111.9 kB / 489.1 MB, free: 15.29 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.03882, allocations: 224.4 kB / 489.3 MB, free: 15.2 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.03883, allocations: 0 / 489.3 MB, free: 15.2 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001301/0.04013, allocations: 1.166 MB / 490.5 MB, free: 14.75 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.04017, allocations: 35.48 kB / 490.5 MB, free: 14.72 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.04018, allocations: 1.312 kB / 490.5 MB, free: 14.72 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.04019, allocations: 0 / 490.5 MB, free: 14.72 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.04028, allocations: 8.469 kB / 490.5 MB, free: 14.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.04029, allocations: 3.141 kB / 490.5 MB, free: 14.71 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.04063, allocations: 27.17 kB / 490.5 MB, free: 14.71 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.04081, allocations: 221.9 kB / 490.7 MB, free: 14.68 MB / 410.8 MB 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.000297/0.04111, allocations: 233.2 kB / 491 MB, free: 14.47 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004052/0.04152, allocations: 0.6172 MB / 491.6 MB, free: 14.13 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.04188, allocations: 479.6 kB / 492.1 MB, free: 13.84 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.04189, allocations: 0 / 492.1 MB, free: 13.84 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.04189, allocations: 3.938 kB / 492.1 MB, free: 13.83 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.0419, allocations: 0 / 492.1 MB, free: 13.83 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.04347, allocations: 2.434 MB / 494.5 MB, free: 11.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.04348, allocations: 3.938 kB / 494.5 MB, free: 11.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.04351, allocations: 4 kB / 494.5 MB, free: 11.73 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.04352, allocations: 0 / 494.5 MB, free: 11.73 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.04356, allocations: 56 kB / 494.6 MB, free: 11.67 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.04356, allocations: 0 / 494.6 MB, free: 11.67 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.04357, allocations: 3.141 kB / 494.6 MB, free: 11.67 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007325/0.0443, allocations: 1.279 MB / 495.8 MB, free: 10.36 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.04466, allocations: 0.5188 MB / 496.4 MB, free: 9.844 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.04484, allocations: 16 kB / 496.4 MB, free: 9.828 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.04505, allocations: 24 kB / 496.4 MB, free: 9.805 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.04509, allocations: 7.359 kB / 496.4 MB, free: 9.801 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.04519, allocations: 224 kB / 496.6 MB, free: 9.582 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002335/0.04753, allocations: 2.99 MB / 499.6 MB, free: 7.184 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.04753, allocations: 4 kB / 499.6 MB, free: 7.18 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003513/0.04788, allocations: 189.1 kB / 499.8 MB, free: 6.996 MB / 410.8 MB 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.0001893/0.04807, allocations: 142.6 kB / 499.9 MB, free: 6.852 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.0484, allocations: 317.4 kB / 0.4885 GB, free: 6.523 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.0484, allocations: 0 / 0.4885 GB, free: 6.523 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.04852, allocations: 195.5 kB / 0.4887 GB, free: 6.316 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.04944, allocations: 473.9 kB / 0.4892 GB, free: 5.852 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.05505, allocations: 7.2 MB / 0.4962 GB, free: 15.04 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000912/0.05596, allocations: 0.9815 MB / 0.4972 GB, free: 14.41 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.001618/0.05758, allocations: 1.005 MB / 0.4981 GB, free: 13.69 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.05778, allocations: 264.5 kB / 0.4984 GB, free: 13.44 MB / 426.8 MB Notification: Performance of SimCode: time 1.743e-06/0.05778, allocations: 0 / 0.4984 GB, free: 13.44 MB / 426.8 MB Notification: Performance of Templates: time 0.03331/0.09109, allocations: 18.47 MB / 0.5164 GB, free: 11.13 MB / 442.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.008402643958107]