Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 105.8 kB / 16.51 MB, free: 6.719 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.001808/0.001808, allocations: 194.5 kB / 17.43 MB, free: 6.059 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.124/1.124, allocations: 119.3 MB / 410.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.91 kB / 0.4902 GB, free: 14.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.5497, allocations: 80.68 MB / 0.569 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.002604/0.5524, allocations: 1.636 MB / 0.5706 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.5536, allocations: 0.8798 MB / 0.5715 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.5537, allocations: 1.094 kB / 0.5715 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.5549, allocations: 1.757 MB / 0.5732 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000745/0.5557, allocations: 0.9383 MB / 0.5741 GB, free: 39.6 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.556, allocations: 87.31 kB / 0.5742 GB, free: 39.55 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.5575, allocations: 2.216 MB / 0.5764 GB, free: 38.47 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.5576, allocations: 3.938 kB / 0.5764 GB, free: 38.47 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009763/0.5585, allocations: 1.107 MB / 0.5775 GB, free: 37.93 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.5603, allocations: 1.926 MB / 0.5793 GB, free: 37.14 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002814/0.5606, allocations: 127.5 kB / 0.5795 GB, free: 37.14 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.561, allocations: 165.8 kB / 0.5796 GB, free: 37.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003976/0.5649, allocations: 4.995 MB / 0.5845 GB, free: 34.09 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.5669, allocations: 2.831 MB / 0.5873 GB, free: 31.23 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003356/0.5702, allocations: 6.007 MB / 0.5931 GB, free: 25.2 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5702, allocations: 0 / 0.5931 GB, free: 25.2 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5703, allocations: 0 / 0.5931 GB, free: 25.2 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001163/0.5704, allocations: 0 / 0.5931 GB, free: 25.2 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.007518/0.5779, allocations: 9.973 MB / 0.6029 GB, free: 15.09 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.578, allocations: 12.03 kB / 0.6029 GB, free: 15.08 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/0.5789, allocations: 1.115 MB / 0.604 GB, free: 13.95 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01833/0.5973, allocations: 12.97 MB / 0.6166 GB, free: 0.8555 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.5974, allocations: 384 / 0.6166 GB, free: 0.8555 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.5974, allocations: 12.06 kB / 0.6166 GB, free: 0.8438 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5976, allocations: 45.67 kB / 0.6167 GB, free: 0.793 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.5976, allocations: 0 / 0.6167 GB, free: 0.793 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.5976, allocations: 4 kB / 0.6167 GB, free: 0.7891 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.5976, allocations: 4 kB / 0.6167 GB, free: 0.7852 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.319e-05/0.5977, allocations: 11.98 kB / 0.6167 GB, free: 0.7734 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005577/0.6033, allocations: 3.557 MB / 0.6202 GB, free: 13.17 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.6036, allocations: 58.53 kB / 0.6202 GB, free: 13.1 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.034e-05/0.6036, allocations: 20.8 kB / 0.6203 GB, free: 13.08 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.6037, allocations: 4 kB / 0.6203 GB, free: 13.07 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.604, allocations: 67.39 kB / 0.6203 GB, free: 13 MB / 478.3 MB Notification: Performance of pre-optimization done (n=5): time 2.665e-06/0.604, allocations: 0 / 0.6203 GB, free: 13 MB / 478.3 MB Notification: Performance of matching and sorting (n=5): time 0.002148/0.6061, allocations: 1.221 MB / 0.6215 GB, free: 11.75 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.6062, allocations: 55.34 kB / 0.6216 GB, free: 11.69 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01729/0.6235, allocations: 12.75 MB / 0.634 GB, free: 15.04 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.6236, allocations: 25.7 kB / 0.634 GB, free: 15.01 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005255/0.6288, allocations: 5.482 MB / 0.6394 GB, free: 9.523 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.202e-05/0.6289, allocations: 7.906 kB / 0.6394 GB, free: 9.516 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.629, allocations: 25.62 kB / 0.6394 GB, free: 9.484 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6291, allocations: 313.9 kB / 0.6397 GB, free: 9.172 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.6292, allocations: 12 kB / 0.6397 GB, free: 9.16 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.6293, allocations: 33.7 kB / 0.6398 GB, free: 9.121 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.6294, allocations: 41.7 kB / 0.6398 GB, free: 9.074 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6294, allocations: 0 / 0.6398 GB, free: 9.074 MB / 494.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001864/0.6313, allocations: 1.213 MB / 0.641 GB, free: 7.84 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.6313, allocations: 4 kB / 0.641 GB, free: 7.836 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.6314, allocations: 4 kB / 0.641 GB, free: 7.832 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.6314, allocations: 0 / 0.641 GB, free: 7.832 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.6315, allocations: 11.98 kB / 0.641 GB, free: 7.82 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.6315, allocations: 0 / 0.641 GB, free: 7.82 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009526/0.6324, allocations: 40.25 kB / 0.6411 GB, free: 7.781 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.6325, allocations: 3.938 kB / 0.6411 GB, free: 7.777 MB / 494.3 MB 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.003383/0.6358, allocations: 2.453 MB / 0.6435 GB, free: 5.312 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/0.6372, allocations: 1.169 MB / 0.6446 GB, free: 4.129 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.6389, allocations: 1.285 MB / 0.6458 GB, free: 2.84 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6389, allocations: 0 / 0.6458 GB, free: 2.84 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6389, allocations: 4 kB / 0.6459 GB, free: 2.836 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6389, allocations: 0 / 0.6459 GB, free: 2.836 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003912/0.6429, allocations: 3.901 MB / 0.6497 GB, free: 14.89 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6429, allocations: 0 / 0.6497 GB, free: 14.89 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.6429, allocations: 4 kB / 0.6497 GB, free: 14.89 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.6429, allocations: 0 / 0.6497 GB, free: 14.89 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.643, allocations: 4 kB / 0.6497 GB, free: 14.88 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.643, allocations: 0 / 0.6497 GB, free: 14.88 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.643, allocations: 0 / 0.6497 GB, free: 14.88 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.6446, allocations: 1.34 MB / 0.651 GB, free: 13.51 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.6457, allocations: 0.9395 MB / 0.6519 GB, free: 12.54 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000435/0.6462, allocations: 32 kB / 0.6519 GB, free: 12.51 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/0.6468, allocations: 36 kB / 0.652 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.6468, allocations: 4 kB / 0.652 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.6468, allocations: 11.98 kB / 0.652 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01223/0.6591, allocations: 8.76 MB / 0.6605 GB, free: 3.777 MB / 0.4983 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6591, allocations: 0 / 0.6605 GB, free: 3.777 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.001265/0.6604, allocations: 328 kB / 0.6608 GB, free: 3.457 MB / 0.4983 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.0009575/0.6613, allocations: 415.7 kB / 0.6612 GB, free: 3.207 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.6616, allocations: 39.92 kB / 0.6613 GB, free: 3.168 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6616, allocations: 0 / 0.6613 GB, free: 3.168 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.6617, allocations: 28.05 kB / 0.6613 GB, free: 3.141 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.664, allocations: 0.8753 MB / 0.6622 GB, free: 2.266 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/0.6872, allocations: 19.25 MB / 0.681 GB, free: 14.98 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004813/0.6921, allocations: 4.797 MB / 0.6856 GB, free: 10.15 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.008111/0.7002, allocations: 2.851 MB / 0.6884 GB, free: 7.289 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002336/0.7026, allocations: 1.116 MB / 0.6895 GB, free: 6.172 MB / 0.5295 GB Notification: Performance of SimCode: time 1.512e-06/0.7026, allocations: 0 / 0.6895 GB, free: 6.172 MB / 0.5295 GB Notification: Performance of Templates: time 0.08252/0.7852, allocations: 29.74 MB / 0.7186 GB, free: 8.402 MB / 0.5608 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches