Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001546/0.001546, allocations: 102.6 kB / 17.59 MB, free: 5.422 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.001696/0.001696, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.495/1.495, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.151/1.151, allocations: 119.3 MB / 411.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 63.89 kB / 0.4916 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6444/0.646, allocations: 80.68 MB / 0.5704 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002737/0.6488, allocations: 1.414 MB / 0.5718 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009859/0.6498, allocations: 0.5773 MB / 0.5723 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.6499, allocations: 1.531 kB / 0.5723 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.6523, allocations: 3.426 MB / 0.5757 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.655, allocations: 3.471 MB / 0.5791 GB, free: 38.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.6554, allocations: 78.09 kB / 0.5791 GB, free: 38.29 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.009356/0.6647, allocations: 8.56 MB / 0.5875 GB, free: 32.14 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.6649, allocations: 4 kB / 0.5875 GB, free: 32.13 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009044/0.6739, allocations: 4.239 MB / 0.5916 GB, free: 27.89 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009/0.683, allocations: 8.088 MB / 0.5995 GB, free: 19.79 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002644/0.6857, allocations: 0.4922 MB / 0.6 GB, free: 19.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.6875, allocations: 0.5663 MB / 0.6006 GB, free: 18.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0177/0.7052, allocations: 19.91 MB / 0.62 GB, free: 14.76 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.02015/0.7254, allocations: 11.24 MB / 0.631 GB, free: 3.406 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.03741/0.7629, allocations: 24.25 MB / 0.6547 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.648e-05/0.763, allocations: 0 / 0.6547 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.627e-06/0.763, allocations: 3.938 kB / 0.6547 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001464/0.7645, allocations: 0 / 0.6547 GB, free: 11.02 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.0794/0.8439, allocations: 38.76 MB / 0.6925 GB, free: 3.852 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 8.557e-05/0.844, allocations: 12.03 kB / 0.6926 GB, free: 3.84 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.8563, allocations: 4.395 MB / 0.6968 GB, free: 15.38 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1373/0.9937, allocations: 51.57 MB / 0.7472 GB, free: 11.47 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.9938, allocations: 4.375 kB / 0.7472 GB, free: 11.47 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/0.9941, allocations: 128.4 kB / 0.7473 GB, free: 11.34 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.9959, allocations: 1.516 MB / 0.7488 GB, free: 9.82 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.9959, allocations: 0 / 0.7488 GB, free: 9.82 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.9962, allocations: 128 kB / 0.7489 GB, free: 9.695 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.9962, allocations: 0 / 0.7489 GB, free: 9.695 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.9974, allocations: 0.8828 MB / 0.7498 GB, free: 8.812 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7055/1.703, allocations: 13.84 MB / 0.7633 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/1.705, allocations: 0.531 MB / 0.7638 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/1.706, allocations: 0.5216 MB / 0.7643 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/1.706, allocations: 1.188 kB / 0.7643 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001768/1.708, allocations: 1.314 MB / 0.7656 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.826e-06/1.708, allocations: 3 kB / 0.7656 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01784/1.726, allocations: 8.315 MB / 0.7737 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/1.726, allocations: 80.48 kB / 0.7738 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1036/1.83, allocations: 49.59 MB / 0.8222 GB, free: 104.4 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0009689/1.831, allocations: 151.7 kB / 0.8224 GB, free: 104.3 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02366/1.854, allocations: 22.55 MB / 0.8444 GB, free: 81.73 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001276/1.856, allocations: 148.7 kB / 0.8446 GB, free: 81.6 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000851/1.857, allocations: 0.8728 MB / 0.8454 GB, free: 80.72 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.505e-05/1.857, allocations: 313.5 kB / 0.8457 GB, free: 80.41 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007221/1.857, allocations: 0.5056 MB / 0.8462 GB, free: 79.91 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/1.858, allocations: 0.5039 MB / 0.8467 GB, free: 79.4 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/1.86, allocations: 1.085 MB / 0.8477 GB, free: 78.3 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.86, allocations: 0 / 0.8477 GB, free: 78.3 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01104/1.871, allocations: 7.815 MB / 0.8554 GB, free: 72.93 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/1.871, allocations: 33.69 kB / 0.8554 GB, free: 72.89 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.871, allocations: 0 / 0.8554 GB, free: 72.89 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/1.871, allocations: 7.531 kB / 0.8554 GB, free: 72.88 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/1.871, allocations: 4 kB / 0.8554 GB, free: 72.88 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.871, allocations: 0.875 kB / 0.8554 GB, free: 72.88 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009612/1.881, allocations: 134.9 kB / 0.8556 GB, free: 72.75 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002545/1.883, allocations: 1.715 MB / 0.8572 GB, free: 71.04 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.01852/1.902, allocations: 9.673 MB / 0.8667 GB, free: 61.34 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01092/1.913, allocations: 4.52 MB / 0.8711 GB, free: 56.76 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/1.928, allocations: 5.117 MB / 0.8761 GB, free: 51.63 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/1.928, allocations: 0 / 0.8761 GB, free: 51.63 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.928, allocations: 0 / 0.8761 GB, free: 51.63 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.928, allocations: 7.938 kB / 0.8761 GB, free: 51.62 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05121/1.979, allocations: 15.08 MB / 0.8908 GB, free: 36.48 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/1.979, allocations: 0 / 0.8908 GB, free: 36.48 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-05/1.979, allocations: 4 kB / 0.8908 GB, free: 36.48 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/1.979, allocations: 0 / 0.8908 GB, free: 36.48 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001631/1.981, allocations: 383.5 kB / 0.8912 GB, free: 36.11 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/1.981, allocations: 0 / 0.8912 GB, free: 36.11 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.981, allocations: 4 kB / 0.8912 GB, free: 36.11 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/1.993, allocations: 8.155 MB / 0.8992 GB, free: 27.87 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01004/2.003, allocations: 3.875 MB / 0.9029 GB, free: 23.92 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004496/2.008, allocations: 135.9 kB / 0.9031 GB, free: 23.79 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004906/2.013, allocations: 127 kB / 0.9032 GB, free: 23.67 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/2.013, allocations: 7.938 kB / 0.9032 GB, free: 23.66 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001459/2.014, allocations: 1.718 MB / 0.9049 GB, free: 21.95 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06607/2.08, allocations: 34.49 MB / 0.9386 GB, free: 3.746 MB / 0.6079 GB Notification: Performance of sort global known variables: time 1.433e-06/2.08, allocations: 0 / 0.9386 GB, free: 3.746 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.007606/2.088, allocations: 1.251 MB / 0.9398 GB, free: 2.5 MB / 0.6079 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.0006628/2.089, allocations: 258.6 kB / 0.94 GB, free: 2.246 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.002052/2.091, allocations: 1.232 MB / 0.9412 GB, free: 1.004 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/2.091, allocations: 0 / 0.9412 GB, free: 1.004 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/2.092, allocations: 0.722 MB / 0.9419 GB, free: 276 kB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02233/2.114, allocations: 3.381 MB / 0.9452 GB, free: 12.89 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1376/2.252, allocations: 73.28 MB / 1.017 GB, free: 4.051 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.415/2.667, allocations: 17.33 MB / 1.034 GB, free: 209.7 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007877/2.675, allocations: 1.962 MB / 1.036 GB, free: 209.7 MB / 0.686 GB Notification: Performance of SimCode: time 2.445e-06/2.675, allocations: 0 / 1.036 GB, free: 209.7 MB / 0.686 GB Notification: Performance of Templates: time 19.75/22.43, allocations: 6.093 GB / 7.129 GB, free: 181.3 MB / 0.811 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches