Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 107.3 kB / 17.28 MB, free: 6.309 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.001729/0.001729, allocations: 194 kB / 18.2 MB, free: 5.387 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.427/1.427, allocations: 222.9 MB / 241.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.05/1.05, allocations: 119.3 MB / 411.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.4911 GB, free: 14.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5815/0.5827, allocations: 80.68 MB / 0.5699 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003565/0.5863, allocations: 1.614 MB / 0.5715 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.5878, allocations: 0.8788 MB / 0.5723 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.5879, allocations: 0 / 0.5723 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.5883, allocations: 61.08 kB / 0.5724 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.5887, allocations: 98.02 kB / 0.5725 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.589, allocations: 90.03 kB / 0.5725 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.5892, allocations: 132 kB / 0.5727 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.5893, allocations: 8.109 kB / 0.5727 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.5895, allocations: 72.55 kB / 0.5728 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.5897, allocations: 52.27 kB / 0.5728 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.5897, allocations: 4.25 kB / 0.5728 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.5898, allocations: 37.05 kB / 0.5728 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.59, allocations: 72.02 kB / 0.5729 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.59, allocations: 59.11 kB / 0.573 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.5903, allocations: 116.3 kB / 0.5731 GB, free: 40.96 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5903, allocations: 0 / 0.5731 GB, free: 40.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5903, allocations: 0 / 0.5731 GB, free: 40.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.5903, allocations: 0 / 0.5731 GB, free: 40.96 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.0006288/0.591, allocations: 489.6 kB / 0.5735 GB, free: 40.49 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.591, allocations: 9.406 kB / 0.5736 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.5911, allocations: 21.16 kB / 0.5736 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.5914, allocations: 338.2 kB / 0.5739 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.5915, allocations: 9.656 kB / 0.5739 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.5915, allocations: 5.406 kB / 0.5739 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.5916, allocations: 42.75 kB / 0.574 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.5916, allocations: 9.484 kB / 0.574 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.5917, allocations: 0 / 0.574 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.5917, allocations: 0 / 0.574 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.835e-05/0.5917, allocations: 12.06 kB / 0.574 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.5919, allocations: 208.1 kB / 0.5742 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.5921, allocations: 58.92 kB / 0.5742 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.5922, allocations: 20.45 kB / 0.5742 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.5922, allocations: 1.281 kB / 0.5742 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.5924, allocations: 68.36 kB / 0.5743 GB, free: 39.75 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.5924, allocations: 0 / 0.5743 GB, free: 39.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002716/0.5927, allocations: 111.7 kB / 0.5744 GB, free: 39.68 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.5927, allocations: 52.88 kB / 0.5745 GB, free: 39.62 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.593, allocations: 279.5 kB / 0.5747 GB, free: 39.44 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.593, allocations: 29.7 kB / 0.5748 GB, free: 39.4 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.593, allocations: 135.6 kB / 0.5749 GB, free: 39.28 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.5931, allocations: 14.59 kB / 0.5749 GB, free: 39.27 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.5931, allocations: 19.12 kB / 0.5749 GB, free: 39.25 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.5932, allocations: 337 kB / 0.5752 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.65e-05/0.5932, allocations: 11.56 kB / 0.5753 GB, free: 38.91 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.011e-05/0.5933, allocations: 27.45 kB / 0.5753 GB, free: 38.89 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.72e-05/0.5934, allocations: 47.45 kB / 0.5753 GB, free: 38.85 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5934, allocations: 3.938 kB / 0.5753 GB, free: 38.85 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001484/0.5936, allocations: 97 kB / 0.5754 GB, free: 38.78 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5936, allocations: 8.531 kB / 0.5754 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5936, allocations: 64 / 0.5754 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.5936, allocations: 5.312 kB / 0.5754 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.5937, allocations: 17.17 kB / 0.5755 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5937, allocations: 1.281 kB / 0.5755 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.5938, allocations: 2.562 kB / 0.5755 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.5938, allocations: 2.5 kB / 0.5755 GB, free: 38.77 MB / 462.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 9.859e-05/0.5939, allocations: 145.9 kB / 0.5756 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.5939, allocations: 25.67 kB / 0.5756 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.594, allocations: 28.23 kB / 0.5757 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.594, allocations: 1.125 kB / 0.5757 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.594, allocations: 0 / 0.5757 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.594, allocations: 3.938 kB / 0.5757 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.5941, allocations: 217.4 kB / 0.5759 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5941, allocations: 0 / 0.5759 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.5941, allocations: 2.656 kB / 0.5759 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5941, allocations: 1.312 kB / 0.5759 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.5942, allocations: 1.469 kB / 0.5759 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5942, allocations: 3.984 kB / 0.5759 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5942, allocations: 0 / 0.5759 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.5944, allocations: 126 kB / 0.576 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.5944, allocations: 99.78 kB / 0.5761 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.5944, allocations: 5.344 kB / 0.5761 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.955e-05/0.5945, allocations: 1.688 kB / 0.5761 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.5945, allocations: 5.547 kB / 0.5761 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.5945, allocations: 2.562 kB / 0.5761 GB, free: 38.14 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001851/0.5947, allocations: 204.9 kB / 0.5763 GB, free: 38 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5947, allocations: 4 kB / 0.5763 GB, free: 38 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000221/0.595, allocations: 19.44 kB / 0.5763 GB, free: 38 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: 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.0008536/0.5958, allocations: 405.4 kB / 0.5767 GB, free: 37.8 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.596, allocations: 52.28 kB / 0.5768 GB, free: 37.77 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.596, allocations: 0 / 0.5768 GB, free: 37.77 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.951e-05/0.5961, allocations: 16.53 kB / 0.5768 GB, free: 37.77 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.5964, allocations: 51.8 kB / 0.5768 GB, free: 37.74 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.5969, allocations: 392 kB / 0.5772 GB, free: 37.45 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.5971, allocations: 0.741 MB / 0.5779 GB, free: 36.71 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.5972, allocations: 34.48 kB / 0.578 GB, free: 36.7 MB / 462.3 MB Notification: Performance of SimCode: time 2.6e-07/0.5972, allocations: 0 / 0.578 GB, free: 36.7 MB / 462.3 MB Notification: Performance of Templates: time 0.004344/0.6015, allocations: 2.548 MB / 0.5804 GB, free: 35.39 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches