Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 114.4 kB / 17.69 MB, free: 5.297 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.001299/0.001299, allocations: 191 kB / 18.63 MB, free: 4.363 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.382/1.382, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.256/1.256, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.84 kB / 0.4924 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6852/0.6867, allocations: 80.68 MB / 0.5712 GB, free: 43.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002689/0.6894, allocations: 1.405 MB / 0.5725 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000941/0.6904, allocations: 0.5781 MB / 0.5731 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.6905, allocations: 3.938 kB / 0.5731 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.6908, allocations: 224.3 kB / 0.5733 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.6913, allocations: 268.6 kB / 0.5736 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.6915, allocations: 84.41 kB / 0.5737 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.6921, allocations: 0.5972 MB / 0.5742 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.6922, allocations: 2.594 kB / 0.5742 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.6925, allocations: 313.1 kB / 0.5745 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000606/0.6931, allocations: 0.5278 MB / 0.5751 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.425e-05/0.6932, allocations: 34.84 kB / 0.5751 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.6934, allocations: 115.2 kB / 0.5752 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.6947, allocations: 1.25 MB / 0.5764 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004918/0.6952, allocations: 0.7238 MB / 0.5771 GB, free: 39.66 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.6969, allocations: 1.63 MB / 0.5787 GB, free: 38.64 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6969, allocations: 3.938 kB / 0.5787 GB, free: 38.64 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6969, allocations: 0.9375 kB / 0.5787 GB, free: 38.64 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.713e-05/0.6969, allocations: 0 / 0.5787 GB, free: 38.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003367/0.7003, allocations: 2.773 MB / 0.5814 GB, free: 36.46 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.7004, allocations: 8.844 kB / 0.5814 GB, free: 36.46 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003391/0.7007, allocations: 286 kB / 0.5817 GB, free: 36.31 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005835/0.7066, allocations: 3.316 MB / 0.5849 GB, free: 34.29 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.7066, allocations: 5.562 kB / 0.585 GB, free: 34.28 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.7067, allocations: 10.59 kB / 0.585 GB, free: 34.28 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.707, allocations: 147.6 kB / 0.5851 GB, free: 34.21 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.707, allocations: 4 kB / 0.5851 GB, free: 34.21 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.707, allocations: 8.938 kB / 0.5851 GB, free: 34.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/0.707, allocations: 0 / 0.5851 GB, free: 34.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.7072, allocations: 76.92 kB / 0.5852 GB, free: 34.2 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.7087, allocations: 1.01 MB / 0.5862 GB, free: 33.52 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.7089, allocations: 72.25 kB / 0.5862 GB, free: 33.48 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.709, allocations: 60.3 kB / 0.5863 GB, free: 33.46 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.709, allocations: 0 / 0.5863 GB, free: 33.46 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.7093, allocations: 175 kB / 0.5865 GB, free: 33.34 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 2.305e-06/0.7093, allocations: 3.938 kB / 0.5865 GB, free: 33.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0009539/0.7103, allocations: 0.6552 MB / 0.5871 GB, free: 32.95 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.7103, allocations: 85.11 kB / 0.5872 GB, free: 32.85 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.7129, allocations: 3.185 MB / 0.5903 GB, free: 29.68 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.713, allocations: 37.7 kB / 0.5903 GB, free: 29.64 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007561/0.7137, allocations: 1.24 MB / 0.5915 GB, free: 28.4 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.7138, allocations: 15.81 kB / 0.5916 GB, free: 28.38 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.7139, allocations: 81.7 kB / 0.5916 GB, free: 28.3 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.714, allocations: 310 kB / 0.5919 GB, free: 27.99 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.714, allocations: 47.98 kB / 0.592 GB, free: 27.94 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.7141, allocations: 51.94 kB / 0.592 GB, free: 27.89 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.7143, allocations: 168.2 kB / 0.5922 GB, free: 27.71 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7143, allocations: 4 kB / 0.5922 GB, free: 27.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005527/0.7149, allocations: 0.605 MB / 0.5928 GB, free: 27.09 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.7149, allocations: 41.69 kB / 0.5928 GB, free: 27.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7149, allocations: 3.938 kB / 0.5928 GB, free: 27.04 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7149, allocations: 0 / 0.5928 GB, free: 27.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.715, allocations: 4 kB / 0.5928 GB, free: 27.03 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.715, allocations: 0 / 0.5928 GB, free: 27.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.7153, allocations: 15.94 kB / 0.5928 GB, free: 27.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.7154, allocations: 116 kB / 0.593 GB, free: 26.9 MB / 462.3 MB 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.0006186/0.716, allocations: 0.7452 MB / 0.5937 GB, free: 26.14 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.7162, allocations: 304.1 kB / 0.594 GB, free: 25.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.7165, allocations: 333.8 kB / 0.5943 GB, free: 25.51 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7165, allocations: 96 / 0.5943 GB, free: 25.51 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.7165, allocations: 3.938 kB / 0.5943 GB, free: 25.5 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7165, allocations: 0 / 0.5943 GB, free: 25.5 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008487/0.7174, allocations: 1.089 MB / 0.5954 GB, free: 24.37 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7174, allocations: 0 / 0.5954 GB, free: 24.37 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.7174, allocations: 7.938 kB / 0.5954 GB, free: 24.36 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.7174, allocations: 4 kB / 0.5954 GB, free: 24.36 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.7175, allocations: 28 kB / 0.5954 GB, free: 24.33 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.7175, allocations: 0 / 0.5954 GB, free: 24.33 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.7175, allocations: 0 / 0.5954 GB, free: 24.33 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.718, allocations: 0.6768 MB / 0.5961 GB, free: 23.63 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.7185, allocations: 333.3 kB / 0.5964 GB, free: 23.28 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.7186, allocations: 19.98 kB / 0.5964 GB, free: 23.26 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.7188, allocations: 12 kB / 0.5964 GB, free: 23.25 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.7188, allocations: 8 kB / 0.5964 GB, free: 23.24 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.155e-05/0.7189, allocations: 112 kB / 0.5965 GB, free: 23.13 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.00185/0.7208, allocations: 2.211 MB / 0.5987 GB, free: 20.94 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7208, allocations: 0 / 0.5987 GB, free: 20.94 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003611/0.7211, allocations: 104 kB / 0.5988 GB, free: 20.84 MB / 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: 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.0001668/0.7213, allocations: 135.8 kB / 0.5989 GB, free: 20.7 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.7216, allocations: 211.3 kB / 0.5991 GB, free: 20.48 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7216, allocations: 0 / 0.5991 GB, free: 20.48 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.7217, allocations: 147.4 kB / 0.5993 GB, free: 20.32 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/0.7224, allocations: 229.4 kB / 0.5995 GB, free: 20.1 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.7264, allocations: 4.152 MB / 0.6035 GB, free: 15.91 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009046/0.7273, allocations: 1.695 MB / 0.6052 GB, free: 14.18 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0009799/0.7283, allocations: 0.5962 MB / 0.6058 GB, free: 13.58 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.7284, allocations: 131.4 kB / 0.6059 GB, free: 13.45 MB / 462.3 MB Notification: Performance of SimCode: time 1.022e-06/0.7284, allocations: 0 / 0.6059 GB, free: 13.45 MB / 462.3 MB Notification: Performance of Templates: time 0.02244/0.7508, allocations: 10.68 MB / 0.6163 GB, free: 2.734 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches