Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 101.6 kB / 16.5 MB, free: 6.645 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.001633/0.001633, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.401/1.401, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9869/0.9869, allocations: 119.3 MB / 410.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 0.4902 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5734/0.5746, allocations: 80.68 MB / 0.569 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.002884/0.5776, allocations: 1.634 MB / 0.5706 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.5789, allocations: 0.8799 MB / 0.5715 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.5789, allocations: 1.375 kB / 0.5715 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.004362/0.5833, allocations: 6.875 MB / 0.5782 GB, free: 38.1 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.586, allocations: 3.504 MB / 0.5816 GB, free: 36.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.5864, allocations: 91.47 kB / 0.5817 GB, free: 36.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007129/0.5935, allocations: 8.582 MB / 0.5901 GB, free: 28.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.5936, allocations: 4 kB / 0.5901 GB, free: 28.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005882/0.5995, allocations: 4.266 MB / 0.5943 GB, free: 24.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005664/0.6052, allocations: 7.6 MB / 0.6017 GB, free: 16.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.6062, allocations: 0.4922 MB / 0.6022 GB, free: 15.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009594/0.6072, allocations: 0.5156 MB / 0.6027 GB, free: 15.44 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01605/0.6233, allocations: 19.92 MB / 0.6221 GB, free: 11.47 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01873/0.642, allocations: 11.26 MB / 0.6331 GB, free: 96 kB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.03051/0.6726, allocations: 23.77 MB / 0.6563 GB, free: 8.191 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.6727, allocations: 0 / 0.6563 GB, free: 8.191 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.806e-06/0.6727, allocations: 0 / 0.6563 GB, free: 8.191 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001725/0.6744, allocations: 0 / 0.6563 GB, free: 8.191 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.06179/0.7362, allocations: 38.77 MB / 0.6942 GB, free: 1.027 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.7363, allocations: 8.031 kB / 0.6942 GB, free: 1.02 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00794/0.7442, allocations: 4.411 MB / 0.6985 GB, free: 12.55 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1233/0.8676, allocations: 51.59 MB / 0.7489 GB, free: 8.609 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.8676, allocations: 4.312 kB / 0.7489 GB, free: 8.605 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.8677, allocations: 8.125 kB / 0.7489 GB, free: 8.598 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.8678, allocations: 49.67 kB / 0.7489 GB, free: 8.543 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.8679, allocations: 0 / 0.7489 GB, free: 8.543 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.8679, allocations: 3.938 kB / 0.749 GB, free: 8.539 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.8679, allocations: 4 kB / 0.749 GB, free: 8.535 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.868, allocations: 15.98 kB / 0.749 GB, free: 8.52 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6324/1.5, allocations: 13.73 MB / 0.7624 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/1.501, allocations: 49.11 kB / 0.7624 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.316e-05/1.501, allocations: 22.34 kB / 0.7624 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/1.501, allocations: 4.969 kB / 0.7625 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/1.501, allocations: 66.97 kB / 0.7625 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=5): time 2.565e-06/1.501, allocations: 0 / 0.7625 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of matching and sorting (n=5): time 0.01356/1.515, allocations: 4.61 MB / 0.767 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/1.515, allocations: 52.53 kB / 0.7671 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09766/1.612, allocations: 50.58 MB / 0.8165 GB, free: 109.5 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/1.613, allocations: 25.7 kB / 0.8165 GB, free: 109.4 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02014/1.633, allocations: 23.58 MB / 0.8395 GB, free: 85.84 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 7.916e-05/1.633, allocations: 13.94 kB / 0.8395 GB, free: 85.83 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/1.633, allocations: 24.52 kB / 0.8396 GB, free: 85.8 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.629e-05/1.633, allocations: 310 kB / 0.8398 GB, free: 85.5 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/1.633, allocations: 12 kB / 0.8399 GB, free: 85.48 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/1.633, allocations: 25.7 kB / 0.8399 GB, free: 85.45 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.261e-05/1.633, allocations: 45.83 kB / 0.8399 GB, free: 85.41 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.633, allocations: 6.438 kB / 0.8399 GB, free: 85.4 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.006691/1.64, allocations: 4.592 MB / 0.8444 GB, free: 83.24 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.64, allocations: 4 kB / 0.8444 GB, free: 83.24 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.64, allocations: 7 kB / 0.8444 GB, free: 83.23 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/1.64, allocations: 0 / 0.8444 GB, free: 83.23 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.593e-05/1.64, allocations: 12.86 kB / 0.8444 GB, free: 83.22 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/1.64, allocations: 0 / 0.8444 GB, free: 83.22 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007203/1.647, allocations: 135.9 kB / 0.8446 GB, free: 83.09 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/1.647, allocations: 7.938 kB / 0.8446 GB, free: 83.08 MB / 0.5923 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.01293/1.66, allocations: 9.392 MB / 0.8537 GB, free: 73.67 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00961/1.67, allocations: 4.651 MB / 0.8583 GB, free: 68.96 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.682, allocations: 5.125 MB / 0.8633 GB, free: 63.83 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/1.682, allocations: 2.938 kB / 0.8633 GB, free: 63.83 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.682, allocations: 0 / 0.8633 GB, free: 63.83 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.682, allocations: 3.938 kB / 0.8633 GB, free: 63.83 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02986/1.712, allocations: 15.08 MB / 0.878 GB, free: 48.69 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.712, allocations: 0 / 0.878 GB, free: 48.69 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/1.712, allocations: 6.531 kB / 0.878 GB, free: 48.69 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/1.712, allocations: 3 kB / 0.878 GB, free: 48.69 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/1.712, allocations: 0 / 0.878 GB, free: 48.69 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/1.712, allocations: 7.984 kB / 0.878 GB, free: 48.68 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.712, allocations: 0 / 0.878 GB, free: 48.68 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006312/1.718, allocations: 5.036 MB / 0.883 GB, free: 43.56 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00599/1.724, allocations: 3.507 MB / 0.8864 GB, free: 39.98 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003897/1.728, allocations: 133.1 kB / 0.8865 GB, free: 39.85 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004431/1.733, allocations: 124 kB / 0.8866 GB, free: 39.73 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/1.733, allocations: 11.92 kB / 0.8866 GB, free: 39.72 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/1.733, allocations: 0 / 0.8866 GB, free: 39.72 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06442/1.797, allocations: 35.01 MB / 0.9208 GB, free: 5.016 MB / 0.5923 GB Notification: Performance of sort global known variables: time 6.21e-07/1.797, allocations: 0 / 0.9208 GB, free: 5.016 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.006894/1.804, allocations: 1.243 MB / 0.922 GB, free: 3.777 MB / 0.5923 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.001023/1.805, allocations: 417.8 kB / 0.9224 GB, free: 3.551 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.0002561/1.805, allocations: 43.91 kB / 0.9225 GB, free: 3.508 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.805, allocations: 0 / 0.9225 GB, free: 3.508 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 6.131e-05/1.806, allocations: 19 kB / 0.9225 GB, free: 3.492 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01305/1.819, allocations: 3.399 MB / 0.9258 GB, free: 92 kB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.123/1.942, allocations: 79.41 MB / 1.003 GB, free: 1.098 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3762/2.318, allocations: 17.34 MB / 1.02 GB, free: 196.4 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.04134/2.359, allocations: 11.29 MB / 1.031 GB, free: 193.8 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01303/2.372, allocations: 4.414 MB / 1.036 GB, free: 192.9 MB / 0.686 GB Notification: Performance of SimCode: time 1.222e-06/2.372, allocations: 0 / 1.036 GB, free: 192.9 MB / 0.686 GB Notification: Performance of Templates: time 0.3417/2.714, allocations: 120.6 MB / 1.153 GB, free: 106.4 MB / 0.686 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches