Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 104 kB / 16.92 MB, free: 5.793 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.001626/0.001626, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.44/1.44, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.294/1.294, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001368, allocations: 63.91 kB / 0.4909 GB, free: 13.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.71/0.7114, allocations: 80.67 MB / 0.5697 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.00285/0.7143, allocations: 1.407 MB / 0.5711 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.7154, allocations: 0.5652 MB / 0.5717 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.7155, allocations: 1.719 kB / 0.5717 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.7157, allocations: 18.92 kB / 0.5717 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.7161, allocations: 68.31 kB / 0.5717 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.7165, allocations: 76.39 kB / 0.5718 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.7166, allocations: 86.84 kB / 0.5719 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.723e-05/0.7167, allocations: 6.797 kB / 0.5719 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.7168, allocations: 41.84 kB / 0.5719 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.717, allocations: 55.95 kB / 0.572 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.717, allocations: 4.125 kB / 0.572 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.7172, allocations: 76.91 kB / 0.5721 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.7173, allocations: 60.73 kB / 0.5721 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.954e-05/0.7174, allocations: 46.62 kB / 0.5722 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.7177, allocations: 147 kB / 0.5723 GB, free: 41.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.7177, allocations: 1.375 kB / 0.5723 GB, free: 41.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.853e-06/0.7177, allocations: 0 / 0.5723 GB, free: 41.38 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.7177, allocations: 0 / 0.5723 GB, free: 41.38 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.0005664/0.7183, allocations: 483.2 kB / 0.5728 GB, free: 40.9 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.7183, allocations: 13.05 kB / 0.5728 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.7184, allocations: 16.62 kB / 0.5728 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.7189, allocations: 315.4 kB / 0.5731 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.7189, allocations: 1.812 kB / 0.5731 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.7189, allocations: 2.969 kB / 0.5731 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.7191, allocations: 55.72 kB / 0.5732 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7191, allocations: 0 / 0.5732 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.7191, allocations: 1.406 kB / 0.5732 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.7191, allocations: 5.219 kB / 0.5732 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.987e-05/0.7192, allocations: 19.8 kB / 0.5732 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.7194, allocations: 200.4 kB / 0.5734 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 7.749e-05/0.7195, allocations: 42.7 kB / 0.5734 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.7196, allocations: 41.72 kB / 0.5735 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.7196, allocations: 1.156 kB / 0.5735 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.7198, allocations: 107.2 kB / 0.5736 GB, free: 40.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.7198, allocations: 0 / 0.5736 GB, free: 40.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003652/0.7202, allocations: 169.7 kB / 0.5737 GB, free: 40.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.7203, allocations: 83.77 kB / 0.5738 GB, free: 39.94 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.7205, allocations: 235.5 kB / 0.574 GB, free: 39.78 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.7205, allocations: 27.17 kB / 0.5741 GB, free: 39.75 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.7206, allocations: 117.5 kB / 0.5742 GB, free: 39.64 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.7206, allocations: 18.25 kB / 0.5742 GB, free: 39.62 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.7207, allocations: 32.45 kB / 0.5742 GB, free: 39.59 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.7208, allocations: 328.3 kB / 0.5745 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.059e-05/0.7208, allocations: 17.64 kB / 0.5745 GB, free: 39.26 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.7209, allocations: 17.19 kB / 0.5746 GB, free: 39.25 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.721, allocations: 105.2 kB / 0.5747 GB, free: 39.16 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.721, allocations: 1.188 kB / 0.5747 GB, free: 39.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001882/0.7212, allocations: 152.9 kB / 0.5748 GB, free: 39.05 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.7212, allocations: 36.78 kB / 0.5748 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7212, allocations: 0 / 0.5748 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.7213, allocations: 5.344 kB / 0.5749 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.7213, allocations: 4.25 kB / 0.5749 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.7214, allocations: 0 / 0.5749 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.7214, allocations: 2.594 kB / 0.5749 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.7214, allocations: 6.562 kB / 0.5749 GB, free: 39.02 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.0001291/0.7216, allocations: 183.1 kB / 0.575 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.7216, allocations: 29.31 kB / 0.5751 GB, free: 38.83 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.7217, allocations: 18.31 kB / 0.5751 GB, free: 38.81 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7217, allocations: 4 kB / 0.5751 GB, free: 38.81 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7217, allocations: 1.125 kB / 0.5751 GB, free: 38.81 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7217, allocations: 4.078 kB / 0.5751 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.7218, allocations: 223.2 kB / 0.5753 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.7219, allocations: 0 / 0.5753 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.032e-05/0.7219, allocations: 6.438 kB / 0.5753 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7219, allocations: 1.25 kB / 0.5753 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.7219, allocations: 2.562 kB / 0.5753 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7219, allocations: 1.094 kB / 0.5753 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7219, allocations: 0 / 0.5753 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.7222, allocations: 194.4 kB / 0.5755 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.7222, allocations: 104 kB / 0.5756 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.7223, allocations: 4.219 kB / 0.5756 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.236e-05/0.7223, allocations: 2.188 kB / 0.5756 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.7224, allocations: 14.08 kB / 0.5756 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.7224, allocations: 6.969 kB / 0.5756 GB, free: 38.3 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001316/0.7225, allocations: 176.1 kB / 0.5758 GB, free: 38.18 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7225, allocations: 0 / 0.5758 GB, free: 38.18 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002465/0.7228, allocations: 33.59 kB / 0.5758 GB, free: 38.18 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.0001759/0.723, allocations: 127.9 kB / 0.576 GB, free: 38.07 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.7232, allocations: 142.9 kB / 0.5761 GB, free: 37.96 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.7232, allocations: 0 / 0.5761 GB, free: 37.96 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.586e-05/0.7233, allocations: 115.2 kB / 0.5762 GB, free: 37.86 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.7235, allocations: 23.84 kB / 0.5762 GB, free: 37.85 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.7241, allocations: 298.8 kB / 0.5765 GB, free: 37.63 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.7243, allocations: 0.72 MB / 0.5772 GB, free: 36.92 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.072e-05/0.7244, allocations: 27.98 kB / 0.5772 GB, free: 36.91 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.7244, allocations: 14.09 kB / 0.5772 GB, free: 36.9 MB / 462.3 MB Notification: Performance of SimCode: time 2.11e-07/0.7244, allocations: 0 / 0.5772 GB, free: 36.9 MB / 462.3 MB Notification: Performance of Templates: time 0.004592/0.729, allocations: 1.37 MB / 0.5786 GB, free: 36.2 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches