Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 110.8 kB / 17.06 MB, free: 6.02 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.001561/0.00156, allocations: 191.8 kB / 18 MB, free: 5.102 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.602/1.602, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.42/1.42, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 58.66 kB / 0.5709 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2095, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.003265/0.2129, allocations: 1.406 MB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.214, allocations: 0.573 MB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.2141, allocations: 0 / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.2144, allocations: 227.7 kB / 0.6519 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.2149, allocations: 271.5 kB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.2152, allocations: 91.7 kB / 0.6522 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.2157, allocations: 0.593 MB / 0.6528 GB, free: 9.902 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.2158, allocations: 7.938 kB / 0.6528 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.2161, allocations: 311.5 kB / 0.6531 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.2166, allocations: 0.5267 MB / 0.6536 GB, free: 9.062 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.68e-05/0.2167, allocations: 36 kB / 0.6537 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.2169, allocations: 111.9 kB / 0.6538 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.2182, allocations: 1.255 MB / 0.655 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005467/0.2187, allocations: 0.7156 MB / 0.6557 GB, free: 6.938 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.2202, allocations: 1.649 MB / 0.6573 GB, free: 5.277 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2202, allocations: 4 kB / 0.6573 GB, free: 5.273 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2202, allocations: 0 / 0.6573 GB, free: 5.273 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.2203, allocations: 0 / 0.6573 GB, free: 5.273 MB / 0.4983 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.003052/0.2233, allocations: 2.872 MB / 0.6601 GB, free: 2.328 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2234, allocations: 12.03 kB / 0.6601 GB, free: 2.316 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.2237, allocations: 302.9 kB / 0.6604 GB, free: 2.02 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00486/0.2285, allocations: 3.37 MB / 0.6637 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2286, allocations: 8.312 kB / 0.6637 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.2286, allocations: 12.36 kB / 0.6637 GB, free: 14.58 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.2289, allocations: 149.9 kB / 0.6639 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2289, allocations: 0 / 0.6639 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.2289, allocations: 12 kB / 0.6639 GB, free: 14.41 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2289, allocations: 0 / 0.6639 GB, free: 14.41 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.2291, allocations: 71.98 kB / 0.6639 GB, free: 14.34 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.2303, allocations: 1.007 MB / 0.6649 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.2305, allocations: 70.52 kB / 0.665 GB, free: 13.21 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2306, allocations: 64.89 kB / 0.6651 GB, free: 13.15 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.2306, allocations: 3.938 kB / 0.6651 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.2309, allocations: 180.9 kB / 0.6652 GB, free: 12.95 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.2309, allocations: 0 / 0.6652 GB, free: 12.95 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0008662/0.2317, allocations: 0.6653 MB / 0.6659 GB, free: 12.27 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.2318, allocations: 81.05 kB / 0.666 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/0.2352, allocations: 3.193 MB / 0.6691 GB, free: 9 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.2352, allocations: 33.7 kB / 0.6691 GB, free: 8.961 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.2363, allocations: 1.236 MB / 0.6703 GB, free: 7.723 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.2364, allocations: 27.89 kB / 0.6703 GB, free: 7.695 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.2365, allocations: 77.72 kB / 0.6704 GB, free: 7.613 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2366, allocations: 314 kB / 0.6707 GB, free: 7.301 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.2367, allocations: 44 kB / 0.6708 GB, free: 7.258 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/0.2368, allocations: 51.92 kB / 0.6708 GB, free: 7.207 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.237, allocations: 168.3 kB / 0.671 GB, free: 7.027 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.237, allocations: 0 / 0.671 GB, free: 7.027 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006552/0.2377, allocations: 0.6262 MB / 0.6716 GB, free: 6.387 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.2377, allocations: 33.7 kB / 0.6716 GB, free: 6.348 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2378, allocations: 0 / 0.6716 GB, free: 6.348 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2378, allocations: 4 kB / 0.6716 GB, free: 6.344 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.2379, allocations: 7.984 kB / 0.6716 GB, free: 6.336 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.2379, allocations: 0 / 0.6716 GB, free: 6.336 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.2381, allocations: 19.95 kB / 0.6716 GB, free: 6.316 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.2382, allocations: 112 kB / 0.6717 GB, free: 6.207 MB / 0.5139 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.0007803/0.239, allocations: 0.7381 MB / 0.6725 GB, free: 5.453 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.2392, allocations: 313.9 kB / 0.6728 GB, free: 5.145 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.2396, allocations: 333.8 kB / 0.6731 GB, free: 4.816 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2396, allocations: 4 kB / 0.6731 GB, free: 4.812 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2396, allocations: 0 / 0.6731 GB, free: 4.812 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2396, allocations: 3.938 kB / 0.6731 GB, free: 4.809 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009905/0.2406, allocations: 1.093 MB / 0.6742 GB, free: 3.672 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2406, allocations: 3.938 kB / 0.6742 GB, free: 3.668 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.2406, allocations: 11.92 kB / 0.6742 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2406, allocations: 0 / 0.6742 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.2407, allocations: 28 kB / 0.6742 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2407, allocations: 0 / 0.6742 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2407, allocations: 0 / 0.6742 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.2414, allocations: 0.6824 MB / 0.6749 GB, free: 2.922 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.2419, allocations: 351 kB / 0.6752 GB, free: 2.559 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.242, allocations: 12.28 kB / 0.6752 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.2422, allocations: 15.94 kB / 0.6752 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.2423, allocations: 11.97 kB / 0.6752 GB, free: 2.52 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.2424, allocations: 112 kB / 0.6753 GB, free: 2.41 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002478/0.2449, allocations: 2.203 MB / 0.6775 GB, free: 232 kB / 0.5139 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2449, allocations: 0 / 0.6775 GB, free: 232 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003703/0.2452, allocations: 108 kB / 0.6776 GB, free: 124 kB / 0.5139 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.0002503/0.2455, allocations: 147.3 kB / 0.6777 GB, free: 15.97 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.2459, allocations: 207.4 kB / 0.6779 GB, free: 15.76 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2459, allocations: 0 / 0.6779 GB, free: 15.76 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.2461, allocations: 147.4 kB / 0.6781 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.2468, allocations: 224.7 kB / 0.6783 GB, free: 15.38 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/0.2518, allocations: 4.236 MB / 0.6824 GB, free: 11.1 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.2533, allocations: 1.699 MB / 0.6841 GB, free: 9.371 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.001278/0.2546, allocations: 0.5923 MB / 0.6847 GB, free: 8.773 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.2548, allocations: 131.4 kB / 0.6848 GB, free: 8.645 MB / 0.5295 GB Notification: Performance of SimCode: time 7.82e-07/0.2548, allocations: 0 / 0.6848 GB, free: 8.645 MB / 0.5295 GB Notification: Performance of Templates: time 0.02727/0.2821, allocations: 10.68 MB / 0.6952 GB, free: 13.92 MB / 0.5452 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches