Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 111.7 kB / 17.06 MB, free: 5.973 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.001312/0.001312, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.349/1.349, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.984/0.984, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.25 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.148, 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_4000): time 0.002503/0.1506, allocations: 1.421 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009847/0.1516, allocations: 0.5691 MB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.1516, allocations: 0 / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.1537, allocations: 3.426 MB / 0.655 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.156, allocations: 3.465 MB / 0.6584 GB, free: 4.164 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.1564, allocations: 83.78 kB / 0.6585 GB, free: 4.082 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.005924/0.1623, allocations: 8.555 MB / 0.6668 GB, free: 11.52 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.1624, allocations: 4 kB / 0.6668 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005242/0.1676, allocations: 4.247 MB / 0.671 GB, free: 7.258 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007732/0.1754, allocations: 8.081 MB / 0.6789 GB, free: 15.16 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.1765, allocations: 0.4922 MB / 0.6793 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1776, allocations: 0.5624 MB / 0.6799 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0194/0.197, allocations: 19.91 MB / 0.6993 GB, free: 10.15 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01647/0.2135, allocations: 11.26 MB / 0.7103 GB, free: 14.78 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.02366/0.2372, allocations: 24.75 MB / 0.7345 GB, free: 5.898 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.2373, allocations: 0 / 0.7345 GB, free: 5.898 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2373, allocations: 0 / 0.7345 GB, free: 5.898 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.0006647/0.238, allocations: 0 / 0.7345 GB, free: 5.898 MB / 0.5764 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.7294/0.9674, allocations: 38.74 MB / 0.7723 GB, free: 83.98 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.9674, allocations: 8.656 kB / 0.7723 GB, free: 83.98 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009907/0.9774, allocations: 4.401 MB / 0.7766 GB, free: 83.2 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1276/1.105, allocations: 51.59 MB / 0.827 GB, free: 45.22 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/1.105, allocations: 384 / 0.827 GB, free: 45.22 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008057/1.106, allocations: 128.4 kB / 0.8271 GB, free: 45.1 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/1.109, allocations: 1.513 MB / 0.8286 GB, free: 43.58 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/1.109, allocations: 2.062 kB / 0.8286 GB, free: 43.58 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003044/1.109, allocations: 132.8 kB / 0.8287 GB, free: 43.45 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.109, allocations: 0 / 0.8287 GB, free: 43.45 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/1.11, allocations: 0.8711 MB / 0.8296 GB, free: 42.58 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02489/1.135, allocations: 13.85 MB / 0.8431 GB, free: 28.67 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/1.137, allocations: 0.533 MB / 0.8436 GB, free: 28.13 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/1.139, allocations: 0.5126 MB / 0.8441 GB, free: 27.62 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/1.139, allocations: 0 / 0.8441 GB, free: 27.62 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002011/1.141, allocations: 1.316 MB / 0.8454 GB, free: 26.28 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=8): time 3.948e-06/1.141, allocations: 3.625 kB / 0.8454 GB, free: 26.28 MB / 0.6079 GB Notification: Performance of matching and sorting (n=8): time 0.01308/1.154, allocations: 8.327 MB / 0.8536 GB, free: 17.89 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/1.154, allocations: 77.11 kB / 0.8536 GB, free: 17.79 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1161/1.271, allocations: 49.58 MB / 0.902 GB, free: 0.6211 MB / 0.6392 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/1.272, allocations: 149.7 kB / 0.9022 GB, free: 480 kB / 0.6392 GB Notification: Performance of collectInitialEqns (initialization): time 0.0305/1.302, allocations: 22.55 MB / 0.9242 GB, free: 9.906 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.303, allocations: 143.7 kB / 0.9243 GB, free: 9.77 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002842/1.306, allocations: 0.8767 MB / 0.9252 GB, free: 8.887 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.306, allocations: 313.7 kB / 0.9255 GB, free: 8.578 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/1.308, allocations: 0.5 MB / 0.926 GB, free: 8.078 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/1.309, allocations: 0.5117 MB / 0.9265 GB, free: 7.566 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/1.311, allocations: 1.079 MB / 0.9275 GB, free: 6.477 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.311, allocations: 0 / 0.9275 GB, free: 6.477 MB / 0.6704 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01467/1.326, allocations: 7.812 MB / 0.9352 GB, free: 14.59 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 8.72e-05/1.326, allocations: 41.62 kB / 0.9352 GB, free: 14.54 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.326, allocations: 2.719 kB / 0.9352 GB, free: 14.54 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/1.326, allocations: 3.812 kB / 0.9352 GB, free: 14.54 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/1.326, allocations: 7.062 kB / 0.9352 GB, free: 14.54 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/1.326, allocations: 4 kB / 0.9352 GB, free: 14.53 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007228/1.334, allocations: 131.9 kB / 0.9354 GB, free: 14.4 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003348/1.337, allocations: 1.711 MB / 0.937 GB, free: 12.69 MB / 0.686 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.01925/1.356, allocations: 9.668 MB / 0.9465 GB, free: 3 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009051/1.365, allocations: 4.527 MB / 0.9509 GB, free: 14.41 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/1.379, allocations: 5.111 MB / 0.9559 GB, free: 9.293 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.379, allocations: 0.7812 kB / 0.9559 GB, free: 9.293 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.379, allocations: 3.094 kB / 0.9559 GB, free: 9.293 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.379, allocations: 3.719 kB / 0.9559 GB, free: 9.293 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03395/1.413, allocations: 15.08 MB / 0.9706 GB, free: 10.15 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.413, allocations: 2.25 kB / 0.9706 GB, free: 10.15 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/1.413, allocations: 7.984 kB / 0.9706 GB, free: 10.14 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/1.413, allocations: 3.938 kB / 0.9706 GB, free: 10.14 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001294/1.414, allocations: 377.2 kB / 0.971 GB, free: 9.773 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.415, allocations: 0 / 0.971 GB, free: 9.773 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.415, allocations: 0 / 0.971 GB, free: 9.773 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/1.426, allocations: 8.154 MB / 0.9789 GB, free: 1.543 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008791/1.435, allocations: 3.88 MB / 0.9827 GB, free: 13.59 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004202/1.439, allocations: 131.9 kB / 0.9829 GB, free: 13.46 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00437/1.443, allocations: 128 kB / 0.983 GB, free: 13.33 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/1.443, allocations: 11.97 kB / 0.983 GB, free: 13.32 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00138/1.445, allocations: 1.719 MB / 0.9847 GB, free: 11.61 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.06306/1.508, allocations: 34.48 MB / 1.018 GB, free: 9.426 MB / 0.7642 GB Notification: Performance of sort global known variables: time 3.7e-07/1.508, allocations: 0 / 1.018 GB, free: 9.426 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.006127/1.514, allocations: 1.257 MB / 1.02 GB, free: 8.172 MB / 0.7642 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.0004888/1.514, allocations: 245.1 kB / 1.02 GB, free: 7.93 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.001939/1.516, allocations: 1.242 MB / 1.021 GB, free: 6.676 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.516, allocations: 0 / 1.021 GB, free: 6.676 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.0009854/1.517, allocations: 0.7172 MB / 1.022 GB, free: 5.949 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01022/1.528, allocations: 3.379 MB / 1.025 GB, free: 2.566 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5054/2.033, allocations: 70.57 MB / 1.094 GB, free: 280.8 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04/2.073, allocations: 17.33 MB / 1.111 GB, free: 275.7 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.02782/2.101, allocations: 9.431 MB / 1.12 GB, free: 271 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005988/2.107, allocations: 1.961 MB / 1.122 GB, free: 271 MB / 0.8267 GB Notification: Performance of SimCode: time 1.693e-06/2.107, allocations: 0 / 1.122 GB, free: 271 MB / 0.8267 GB Notification: Performance of Templates: time 0.4215/2.529, allocations: 167.3 MB / 1.285 GB, free: 125.5 MB / 0.8267 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches