Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001541/0.001541, allocations: 112.2 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.001604/0.001604, allocations: 200 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.585/1.585, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.278/1.278, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 62.67 kB / 0.5709 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1956, allocations: 80.71 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.003901/0.1996, allocations: 1.581 MB / 0.6513 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.2014, allocations: 0.8885 MB / 0.6521 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.2015, allocations: 0 / 0.6521 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0009927/0.2025, allocations: 0.8965 MB / 0.653 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007675/0.2033, allocations: 0.5222 MB / 0.6535 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.2037, allocations: 115.5 kB / 0.6536 GB, free: 9.047 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001159/0.2049, allocations: 1.166 MB / 0.6548 GB, free: 7.879 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.304e-05/0.205, allocations: 7.984 kB / 0.6548 GB, free: 7.871 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000969/0.206, allocations: 0.5809 MB / 0.6553 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.2072, allocations: 1.045 MB / 0.6564 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.2074, allocations: 68 kB / 0.6564 GB, free: 6.176 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.2076, allocations: 92 kB / 0.6565 GB, free: 6.086 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002566/0.2102, allocations: 2.509 MB / 0.659 GB, free: 3.57 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.2122, allocations: 1.427 MB / 0.6604 GB, free: 2.129 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.2152, allocations: 3.17 MB / 0.6634 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2152, allocations: 0 / 0.6634 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2152, allocations: 0 / 0.6634 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 3.158e-05/0.2153, allocations: 0 / 0.6634 GB, free: 14.94 MB / 0.5139 GB 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.006327/0.2216, allocations: 5.187 MB / 0.6685 GB, free: 9.664 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.2217, allocations: 15.89 kB / 0.6685 GB, free: 9.648 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007594/0.2224, allocations: 0.5638 MB / 0.6691 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.2336, allocations: 6.551 MB / 0.6755 GB, free: 2.445 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.2336, allocations: 4.375 kB / 0.6755 GB, free: 2.441 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.2337, allocations: 4.125 kB / 0.6755 GB, free: 2.438 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.2339, allocations: 45.67 kB / 0.6755 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2339, allocations: 4 kB / 0.6755 GB, free: 2.383 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.2339, allocations: 0 / 0.6755 GB, free: 2.383 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.2339, allocations: 0 / 0.6755 GB, free: 2.383 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.977e-05/0.234, allocations: 19.92 kB / 0.6756 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.2369, allocations: 1.859 MB / 0.6774 GB, free: 468 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.2371, allocations: 54.55 kB / 0.6774 GB, free: 404 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.2372, allocations: 24.78 kB / 0.6774 GB, free: 376 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.2372, allocations: 4 kB / 0.6774 GB, free: 372 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.2375, allocations: 67.39 kB / 0.6775 GB, free: 292 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.864e-06/0.2375, allocations: 3.938 kB / 0.6775 GB, free: 288 kB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.0013/0.2388, allocations: 0.6505 MB / 0.6781 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.2389, allocations: 59.34 kB / 0.6782 GB, free: 15.55 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008341/0.2472, allocations: 6.438 MB / 0.6845 GB, free: 9.152 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.2473, allocations: 33.7 kB / 0.6845 GB, free: 9.113 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002441/0.2497, allocations: 2.661 MB / 0.6871 GB, free: 6.449 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.2498, allocations: 15.84 kB / 0.6871 GB, free: 6.434 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.2499, allocations: 25.7 kB / 0.6872 GB, free: 6.402 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2501, allocations: 306 kB / 0.6875 GB, free: 6.098 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.2502, allocations: 12 kB / 0.6875 GB, free: 6.086 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.2503, allocations: 33.69 kB / 0.6875 GB, free: 6.047 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.2504, allocations: 45.89 kB / 0.6875 GB, free: 5.996 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.2504, allocations: 8 kB / 0.6875 GB, free: 5.988 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001191/0.2516, allocations: 0.6465 MB / 0.6882 GB, free: 5.328 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.2516, allocations: 4 kB / 0.6882 GB, free: 5.324 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.2516, allocations: 0 / 0.6882 GB, free: 5.324 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2517, allocations: 0 / 0.6882 GB, free: 5.324 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/0.2518, allocations: 19.98 kB / 0.6882 GB, free: 5.305 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2518, allocations: 0 / 0.6882 GB, free: 5.305 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/0.2523, allocations: 19.91 kB / 0.6882 GB, free: 5.285 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.2523, allocations: 4 kB / 0.6882 GB, free: 5.281 MB / 0.5295 GB 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.001606/0.2539, allocations: 1.287 MB / 0.6895 GB, free: 3.984 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005302/0.2544, allocations: 0.5863 MB / 0.6901 GB, free: 3.391 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006501/0.2551, allocations: 0.652 MB / 0.6907 GB, free: 2.734 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2551, allocations: 0 / 0.6907 GB, free: 2.734 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2551, allocations: 0 / 0.6907 GB, free: 2.734 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2551, allocations: 0 / 0.6907 GB, free: 2.734 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.257, allocations: 2.035 MB / 0.6927 GB, free: 0.6523 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.257, allocations: 0 / 0.6927 GB, free: 0.6523 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.2571, allocations: 7.922 kB / 0.6927 GB, free: 0.6445 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.2571, allocations: 4 kB / 0.6927 GB, free: 0.6406 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2571, allocations: 4 kB / 0.6927 GB, free: 0.6367 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2571, allocations: 0 / 0.6927 GB, free: 0.6367 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2571, allocations: 0 / 0.6927 GB, free: 0.6367 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007502/0.2579, allocations: 0.7175 MB / 0.6934 GB, free: 15.89 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005782/0.2585, allocations: 0.5093 MB / 0.6939 GB, free: 15.36 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.2587, allocations: 23.98 kB / 0.6939 GB, free: 15.33 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.259, allocations: 20.06 kB / 0.6939 GB, free: 15.31 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.259, allocations: 19.94 kB / 0.694 GB, free: 15.29 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.2591, allocations: 0 / 0.694 GB, free: 15.29 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005626/0.2647, allocations: 4.416 MB / 0.6983 GB, free: 10.92 MB / 0.5452 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2647, allocations: 0 / 0.6983 GB, free: 10.92 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0007959/0.2655, allocations: 172 kB / 0.6984 GB, free: 10.75 MB / 0.5452 GB 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.001041/0.2666, allocations: 394.9 kB / 0.6988 GB, free: 10.51 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.2668, allocations: 43.97 kB / 0.6988 GB, free: 10.46 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.2668, allocations: 4.062 kB / 0.6989 GB, free: 10.46 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.2669, allocations: 23.88 kB / 0.6989 GB, free: 10.44 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.2682, allocations: 465.5 kB / 0.6993 GB, free: 9.98 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.2791, allocations: 8.408 MB / 0.7075 GB, free: 1.543 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/0.2819, allocations: 2.74 MB / 0.7102 GB, free: 14.78 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.002727/0.2846, allocations: 1.399 MB / 0.7116 GB, free: 13.37 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008938/0.2855, allocations: 0.5655 MB / 0.7121 GB, free: 12.8 MB / 0.5608 GB Notification: Performance of SimCode: time 1.333e-06/0.2855, allocations: 0 / 0.7121 GB, free: 12.8 MB / 0.5608 GB Notification: Performance of Templates: time 0.04945/0.335, allocations: 15.62 MB / 0.7274 GB, free: 13.19 MB / 0.5764 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches