Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 111.2 kB / 17.29 MB, free: 6.219 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.001481/0.001481, allocations: 189.3 kB / 18.21 MB, free: 5.297 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.393/1.393, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.114/1.114, allocations: 119.3 MB / 411.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 0.4911 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5476, allocations: 80.67 MB / 0.5699 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002778/0.5504, allocations: 1.643 MB / 0.5715 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.5518, allocations: 0.8732 MB / 0.5723 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.5519, allocations: 1.156 kB / 0.5723 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0008916/0.5528, allocations: 0.9017 MB / 0.5732 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006299/0.5534, allocations: 0.5121 MB / 0.5737 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.5537, allocations: 97.75 kB / 0.5738 GB, free: 40.74 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0009424/0.5547, allocations: 1.166 MB / 0.5749 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.5547, allocations: 8.516 kB / 0.5749 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005349/0.5553, allocations: 0.5724 MB / 0.5755 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000918/0.5562, allocations: 1.05 MB / 0.5765 GB, free: 39.47 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.5564, allocations: 66 kB / 0.5766 GB, free: 39.47 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.5567, allocations: 97.39 kB / 0.5767 GB, free: 39.46 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002889/0.5596, allocations: 2.507 MB / 0.5791 GB, free: 38.22 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.5607, allocations: 1.434 MB / 0.5805 GB, free: 37 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.5641, allocations: 2.387 MB / 0.5829 GB, free: 35.7 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.5642, allocations: 0 / 0.5829 GB, free: 35.7 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5642, allocations: 1.375 kB / 0.5829 GB, free: 35.7 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001661/0.5643, allocations: 0 / 0.5829 GB, free: 35.7 MB / 462.3 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.008958/0.5733, allocations: 5.178 MB / 0.5879 GB, free: 31.27 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.5734, allocations: 15.89 kB / 0.5879 GB, free: 31.25 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005614/0.5739, allocations: 0.556 MB / 0.5885 GB, free: 30.69 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008682/0.5826, allocations: 6.551 MB / 0.5949 GB, free: 24.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.5827, allocations: 4.375 kB / 0.5949 GB, free: 24.05 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.5827, allocations: 4.125 kB / 0.5949 GB, free: 24.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.5829, allocations: 49.67 kB / 0.5949 GB, free: 23.99 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5829, allocations: 0 / 0.5949 GB, free: 23.99 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5829, allocations: 4 kB / 0.5949 GB, free: 23.99 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.583, allocations: 0 / 0.5949 GB, free: 23.99 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/0.583, allocations: 15.98 kB / 0.595 GB, free: 23.97 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.5851, allocations: 1.859 MB / 0.5968 GB, free: 22.07 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.5852, allocations: 54.55 kB / 0.5968 GB, free: 22 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.5853, allocations: 24.78 kB / 0.5968 GB, free: 21.98 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.5853, allocations: 11.98 kB / 0.5969 GB, free: 21.96 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.5855, allocations: 63.39 kB / 0.5969 GB, free: 21.89 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 2.214e-06/0.5856, allocations: 0 / 0.5969 GB, free: 21.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0007519/0.5863, allocations: 0.6582 MB / 0.5976 GB, free: 21.22 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.5864, allocations: 51.41 kB / 0.5976 GB, free: 21.16 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005938/0.5923, allocations: 6.439 MB / 0.6039 GB, free: 14.76 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.5924, allocations: 25.7 kB / 0.6039 GB, free: 14.73 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.594, allocations: 2.668 MB / 0.6065 GB, free: 12.06 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.594, allocations: 11.91 kB / 0.6065 GB, free: 12.05 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.5941, allocations: 21.62 kB / 0.6066 GB, free: 12.02 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.5942, allocations: 310 kB / 0.6069 GB, free: 11.71 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.5942, allocations: 12 kB / 0.6069 GB, free: 11.7 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.5943, allocations: 29.7 kB / 0.6069 GB, free: 11.66 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.522e-05/0.5944, allocations: 45.7 kB / 0.6069 GB, free: 11.61 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5944, allocations: 3.938 kB / 0.6069 GB, free: 11.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007121/0.5951, allocations: 0.6468 MB / 0.6076 GB, free: 10.95 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5951, allocations: 4 kB / 0.6076 GB, free: 10.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.5952, allocations: 4 kB / 0.6076 GB, free: 10.94 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.5952, allocations: 4 kB / 0.6076 GB, free: 10.94 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.5953, allocations: 15.92 kB / 0.6076 GB, free: 10.92 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.5953, allocations: 0 / 0.6076 GB, free: 10.92 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.5957, allocations: 28.03 kB / 0.6076 GB, free: 10.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.5957, allocations: 3.938 kB / 0.6076 GB, free: 10.89 MB / 462.3 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.001426/0.5971, allocations: 1.286 MB / 0.6089 GB, free: 9.594 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003803/0.5975, allocations: 0.5863 MB / 0.6095 GB, free: 9 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.5981, allocations: 0.652 MB / 0.6101 GB, free: 8.348 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5981, allocations: 0 / 0.6101 GB, free: 8.348 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5981, allocations: 0 / 0.6101 GB, free: 8.348 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5981, allocations: 0 / 0.6101 GB, free: 8.348 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.5995, allocations: 2.031 MB / 0.6121 GB, free: 6.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.5995, allocations: 0 / 0.6121 GB, free: 6.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.5995, allocations: 8 kB / 0.6121 GB, free: 6.262 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.5996, allocations: 3.984 kB / 0.6121 GB, free: 6.258 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5996, allocations: 0 / 0.6121 GB, free: 6.258 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5996, allocations: 0 / 0.6121 GB, free: 6.258 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5996, allocations: 0 / 0.6121 GB, free: 6.258 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/0.6001, allocations: 0.7212 MB / 0.6128 GB, free: 5.512 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.6006, allocations: 0.517 MB / 0.6133 GB, free: 4.969 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.6008, allocations: 16 kB / 0.6133 GB, free: 4.953 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.6011, allocations: 23.98 kB / 0.6133 GB, free: 4.93 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.6012, allocations: 8 kB / 0.6133 GB, free: 4.922 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.6012, allocations: 0 / 0.6133 GB, free: 4.922 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004408/0.6056, allocations: 4.416 MB / 0.6177 GB, free: 0.5469 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6056, allocations: 0 / 0.6177 GB, free: 0.5469 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005997/0.6062, allocations: 172 kB / 0.6178 GB, free: 388 kB / 462.3 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009172/0.6071, allocations: 411.2 kB / 0.6182 GB, free: 132 kB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.6074, allocations: 51.91 kB / 0.6183 GB, free: 80 kB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6074, allocations: 0 / 0.6183 GB, free: 80 kB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.573e-05/0.6074, allocations: 16 kB / 0.6183 GB, free: 64 kB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.6088, allocations: 470.5 kB / 0.6187 GB, free: 15.6 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.6234, allocations: 9.772 MB / 0.6283 GB, free: 5.789 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/0.626, allocations: 2.737 MB / 0.6309 GB, free: 3.027 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/0.6272, allocations: 0.5655 MB / 0.6315 GB, free: 2.461 MB / 478.3 MB Notification: Performance of SimCode: time 7.42e-07/0.6272, allocations: 3.938 kB / 0.6315 GB, free: 2.457 MB / 478.3 MB Notification: Performance of Templates: time 0.7738/1.401, allocations: 137.5 MB / 0.7658 GB, free: 160.3 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches