Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001554/0.001554, allocations: 110.9 kB / 16.63 MB, free: 6.953 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.001994/0.001994, allocations: 193.8 kB / 17.55 MB, free: 6.043 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.588/1.588, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.695/1.695, allocations: 119.3 MB / 410.7 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 60.14 kB / 0.4904 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8877/0.889, allocations: 80.68 MB / 0.5692 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.004493/0.8936, allocations: 1.615 MB / 0.5708 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.8955, allocations: 0.8741 MB / 0.5717 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.8956, allocations: 5.031 kB / 0.5717 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.8961, allocations: 56.48 kB / 0.5717 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.8967, allocations: 98.84 kB / 0.5718 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.8972, allocations: 98.39 kB / 0.5719 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.8974, allocations: 126.5 kB / 0.572 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.8975, allocations: 13.58 kB / 0.572 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.8977, allocations: 60.03 kB / 0.5721 GB, free: 40.74 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.8979, allocations: 59.69 kB / 0.5721 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.898, allocations: 4.438 kB / 0.5721 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.8981, allocations: 33.17 kB / 0.5722 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.8983, allocations: 75.92 kB / 0.5723 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.302e-05/0.8984, allocations: 54.98 kB / 0.5723 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.8987, allocations: 152.6 kB / 0.5725 GB, free: 40.52 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8987, allocations: 0 / 0.5725 GB, free: 40.52 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.264e-06/0.8987, allocations: 0 / 0.5725 GB, free: 40.52 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.8988, allocations: 1.344 kB / 0.5725 GB, free: 40.52 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.0007789/0.8996, allocations: 496.7 kB / 0.5729 GB, free: 40.04 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.8996, allocations: 13.27 kB / 0.5729 GB, free: 40.03 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.8997, allocations: 21.62 kB / 0.573 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.9003, allocations: 325.2 kB / 0.5733 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.9003, allocations: 9.594 kB / 0.5733 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.9003, allocations: 9.719 kB / 0.5733 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.9005, allocations: 47.91 kB / 0.5733 GB, free: 39.67 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.9005, allocations: 0 / 0.5733 GB, free: 39.67 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.9006, allocations: 3.984 kB / 0.5733 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.9006, allocations: 1.312 kB / 0.5733 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.9007, allocations: 15.38 kB / 0.5734 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.9009, allocations: 208.3 kB / 0.5736 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.9011, allocations: 54.33 kB / 0.5736 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.546e-05/0.9012, allocations: 20.55 kB / 0.5736 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.9012, allocations: 1.844 kB / 0.5736 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.9015, allocations: 71.8 kB / 0.5737 GB, free: 39.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.9016, allocations: 0 / 0.5737 GB, free: 39.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.000375/0.9019, allocations: 103.8 kB / 0.5738 GB, free: 39.23 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.902, allocations: 56.75 kB / 0.5738 GB, free: 39.17 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.9024, allocations: 279.3 kB / 0.5741 GB, free: 38.99 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.9024, allocations: 27.2 kB / 0.5741 GB, free: 38.96 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.9025, allocations: 138.4 kB / 0.5743 GB, free: 38.83 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.9026, allocations: 18.47 kB / 0.5743 GB, free: 38.81 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.9026, allocations: 19.16 kB / 0.5743 GB, free: 38.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.9027, allocations: 333.6 kB / 0.5746 GB, free: 38.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.9028, allocations: 10.88 kB / 0.5746 GB, free: 38.46 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.9029, allocations: 27.33 kB / 0.5747 GB, free: 38.44 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.903, allocations: 51.83 kB / 0.5747 GB, free: 38.4 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.903, allocations: 5.312 kB / 0.5747 GB, free: 38.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001994/0.9032, allocations: 99.25 kB / 0.5748 GB, free: 38.32 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9033, allocations: 4.281 kB / 0.5748 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.9033, allocations: 1.125 kB / 0.5748 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.9033, allocations: 1.25 kB / 0.5748 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.9034, allocations: 12.8 kB / 0.5748 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.9034, allocations: 0.875 kB / 0.5748 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.9035, allocations: 10.88 kB / 0.5748 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.9035, allocations: 2.188 kB / 0.5748 GB, free: 38.31 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 0.0001335/0.9037, allocations: 150 kB / 0.575 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.9037, allocations: 22.81 kB / 0.575 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.9038, allocations: 23.45 kB / 0.575 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.9038, allocations: 1.25 kB / 0.575 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9038, allocations: 0 / 0.575 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.9038, allocations: 0 / 0.575 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.904, allocations: 220.6 kB / 0.5752 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.904, allocations: 0 / 0.5752 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.904, allocations: 3.812 kB / 0.5752 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.904, allocations: 4 kB / 0.5752 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.904, allocations: 1.344 kB / 0.5753 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.9041, allocations: 1.344 kB / 0.5753 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.9041, allocations: 3.984 kB / 0.5753 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.9043, allocations: 121.7 kB / 0.5754 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.9044, allocations: 98.69 kB / 0.5755 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.9044, allocations: 5.75 kB / 0.5755 GB, free: 37.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.9045, allocations: 9.594 kB / 0.5755 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.9046, allocations: 11.41 kB / 0.5755 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.9046, allocations: 1.562 kB / 0.5755 GB, free: 37.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002453/0.9048, allocations: 204 kB / 0.5757 GB, free: 37.54 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.91e-07/0.9048, allocations: 1.375 kB / 0.5757 GB, free: 37.54 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003793/0.9052, allocations: 22.69 kB / 0.5757 GB, free: 37.54 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.0013/0.9065, allocations: 401.4 kB / 0.5761 GB, free: 37.34 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.9068, allocations: 56.47 kB / 0.5761 GB, free: 37.31 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9068, allocations: 0 / 0.5761 GB, free: 37.31 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-05/0.9068, allocations: 15.97 kB / 0.5762 GB, free: 37.31 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.9073, allocations: 44.12 kB / 0.5762 GB, free: 37.29 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007554/0.9081, allocations: 358.9 kB / 0.5765 GB, free: 37.03 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.9083, allocations: 0.7415 MB / 0.5773 GB, free: 36.3 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.9085, allocations: 41.62 kB / 0.5773 GB, free: 36.28 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.9085, allocations: 24.98 kB / 0.5773 GB, free: 36.27 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.9085, allocations: 0 / 0.5773 GB, free: 36.27 MB / 462.3 MB Notification: Performance of Templates: time 0.006686/0.9152, allocations: 1.687 MB / 0.579 GB, free: 35.42 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches