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.001076/0.001076, allocations: 110.7 kB / 16.92 MB, free: 5.766 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.00115/0.00115, allocations: 191.3 kB / 17.85 MB, free: 5.172 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.288/1.288, allocations: 222.9 MB / 241.5 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9134/0.9134, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001399, allocations: 67.88 kB / 0.4909 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.5315, allocations: 80.68 MB / 0.5697 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002982/0.5345, allocations: 1.417 MB / 0.5711 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009925/0.5355, allocations: 0.5702 MB / 0.5717 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.5356, allocations: 0 / 0.5717 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.5381, allocations: 3.427 MB / 0.575 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.5406, allocations: 3.48 MB / 0.5784 GB, free: 38.29 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.541, allocations: 75.7 kB / 0.5785 GB, free: 38.24 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.009329/0.5503, allocations: 8.557 MB / 0.5868 GB, free: 32.15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.311e-05/0.5505, allocations: 0 / 0.5868 GB, free: 32.15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007873/0.5583, allocations: 4.243 MB / 0.591 GB, free: 27.9 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008246/0.5666, allocations: 8.088 MB / 0.5989 GB, free: 19.8 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001665/0.5683, allocations: 0.4961 MB / 0.5994 GB, free: 19.3 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000984/0.5693, allocations: 0.5663 MB / 0.5999 GB, free: 18.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01634/0.5857, allocations: 19.9 MB / 0.6194 GB, free: 14.78 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.018/0.6037, allocations: 11.25 MB / 0.6303 GB, free: 3.418 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0307/0.6345, allocations: 24.25 MB / 0.654 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.6345, allocations: 4 kB / 0.654 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6345, allocations: 0 / 0.654 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001141/0.6357, allocations: 0 / 0.654 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.05973/0.6954, allocations: 38.75 MB / 0.6919 GB, free: 3.871 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.6955, allocations: 8.031 kB / 0.6919 GB, free: 3.863 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006912/0.7024, allocations: 4.399 MB / 0.6962 GB, free: 15.4 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1231/0.8256, allocations: 51.57 MB / 0.7465 GB, free: 11.48 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.8256, allocations: 8.312 kB / 0.7466 GB, free: 11.47 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003249/0.826, allocations: 128.4 kB / 0.7467 GB, free: 11.35 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.8276, allocations: 1.516 MB / 0.7482 GB, free: 9.824 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.8276, allocations: 0 / 0.7482 GB, free: 9.824 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/0.8278, allocations: 131.9 kB / 0.7483 GB, free: 9.695 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8279, allocations: 0 / 0.7483 GB, free: 9.695 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.8289, allocations: 0.875 MB / 0.7491 GB, free: 8.82 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5525/1.381, allocations: 13.84 MB / 0.7626 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/1.383, allocations: 0.528 MB / 0.7632 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.384, allocations: 0.5238 MB / 0.7637 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/1.384, allocations: 0 / 0.7637 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/1.386, allocations: 1.318 MB / 0.765 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/1.386, allocations: 1.094 kB / 0.765 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01276/1.399, allocations: 8.32 MB / 0.7731 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/1.399, allocations: 78.8 kB / 0.7732 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07183/1.471, allocations: 49.58 MB / 0.8216 GB, free: 104.5 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.000801/1.472, allocations: 159.7 kB / 0.8217 GB, free: 104.3 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.01918/1.491, allocations: 22.54 MB / 0.8437 GB, free: 81.75 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.000938/1.492, allocations: 143.6 kB / 0.8439 GB, free: 81.62 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007586/1.492, allocations: 0.8866 MB / 0.8448 GB, free: 80.73 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.124e-05/1.492, allocations: 309.8 kB / 0.845 GB, free: 80.43 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/1.493, allocations: 0.5078 MB / 0.8455 GB, free: 79.92 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/1.494, allocations: 0.5 MB / 0.846 GB, free: 79.42 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/1.495, allocations: 1.08 MB / 0.8471 GB, free: 78.32 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.495, allocations: 0 / 0.8471 GB, free: 78.32 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.008026/1.503, allocations: 7.817 MB / 0.8547 GB, free: 72.94 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/1.503, allocations: 37.69 kB / 0.8548 GB, free: 72.9 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.503, allocations: 0 / 0.8548 GB, free: 72.9 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.503, allocations: 6.562 kB / 0.8548 GB, free: 72.9 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/1.503, allocations: 7 kB / 0.8548 GB, free: 72.89 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.503, allocations: 0 / 0.8548 GB, free: 72.89 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006551/1.51, allocations: 134.9 kB / 0.8549 GB, free: 72.77 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/1.511, allocations: 1.719 MB / 0.8566 GB, free: 71.05 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.01331/1.524, allocations: 9.667 MB / 0.866 GB, free: 61.36 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006504/1.531, allocations: 4.52 MB / 0.8704 GB, free: 56.78 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009682/1.541, allocations: 5.118 MB / 0.8754 GB, free: 51.64 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.541, allocations: 4 kB / 0.8754 GB, free: 51.64 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.541, allocations: 0 / 0.8754 GB, free: 51.64 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.541, allocations: 3.938 kB / 0.8754 GB, free: 51.64 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02936/1.57, allocations: 15.08 MB / 0.8902 GB, free: 36.5 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.57, allocations: 0 / 0.8902 GB, free: 36.5 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/1.57, allocations: 4.875 kB / 0.8902 GB, free: 36.49 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/1.57, allocations: 0 / 0.8902 GB, free: 36.49 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009174/1.571, allocations: 383 kB / 0.8905 GB, free: 36.12 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.571, allocations: 0 / 0.8905 GB, free: 36.12 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.571, allocations: 0 / 0.8905 GB, free: 36.12 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007924/1.579, allocations: 8.154 MB / 0.8985 GB, free: 27.89 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006348/1.585, allocations: 3.88 MB / 0.9023 GB, free: 23.94 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005314/1.591, allocations: 137.1 kB / 0.9024 GB, free: 23.81 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00454/1.595, allocations: 128 kB / 0.9025 GB, free: 23.68 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/1.595, allocations: 11.88 kB / 0.9025 GB, free: 23.67 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001041/1.597, allocations: 1.711 MB / 0.9042 GB, free: 21.96 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.05314/1.65, allocations: 34.49 MB / 0.9379 GB, free: 3.766 MB / 0.6079 GB Notification: Performance of sort global known variables: time 5.31e-07/1.65, allocations: 0 / 0.9379 GB, free: 3.766 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.005347/1.655, allocations: 1.255 MB / 0.9391 GB, free: 2.516 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.0005046/1.656, allocations: 250.7 kB / 0.9394 GB, free: 2.266 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.002025/1.658, allocations: 1.232 MB / 0.9406 GB, free: 1.023 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.658, allocations: 0 / 0.9406 GB, free: 1.023 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.659, allocations: 0.722 MB / 0.9413 GB, free: 296 kB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0148/1.674, allocations: 3.381 MB / 0.9446 GB, free: 12.91 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1317/1.805, allocations: 71.55 MB / 1.014 GB, free: 5.805 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3494/2.155, allocations: 17.33 MB / 1.031 GB, free: 209.5 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.03267/2.187, allocations: 9.438 MB / 1.041 GB, free: 205.3 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005643/2.193, allocations: 1.964 MB / 1.043 GB, free: 205.3 MB / 0.686 GB Notification: Performance of SimCode: time 1.212e-06/2.193, allocations: 0 / 1.043 GB, free: 205.3 MB / 0.686 GB Notification: Performance of Templates: time 0.388/2.581, allocations: 167.2 MB / 1.206 GB, free: 64.14 MB / 0.686 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