Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 102.6 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4882/0.4882, allocations: 44.13 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 55.91 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3785, allocations: 60.8 MB / 0.5064 GB, free: 38.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003256/0.3818, allocations: 1.641 MB / 0.508 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007885/0.3826, allocations: 421.5 kB / 0.5084 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.3827, allocations: 2.812 kB / 0.5084 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.383, allocations: 70.31 kB / 0.5085 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.3832, allocations: 59.7 kB / 0.5085 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.3835, allocations: 98.61 kB / 0.5086 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.3837, allocations: 71.34 kB / 0.5087 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3838, allocations: 20.92 kB / 0.5087 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/0.3838, allocations: 28.98 kB / 0.5087 GB, free: 37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.384, allocations: 52.03 kB / 0.5088 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.384, allocations: 6.906 kB / 0.5088 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.3841, allocations: 38.62 kB / 0.5088 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.3841, allocations: 23.34 kB / 0.5088 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.3842, allocations: 29.39 kB / 0.5089 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.3843, allocations: 95.2 kB / 0.509 GB, free: 36.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3844, allocations: 0 / 0.509 GB, free: 36.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3844, allocations: 5.25 kB / 0.509 GB, free: 36.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.3844, allocations: 0 / 0.509 GB, free: 36.9 MB / 378.7 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.000458/0.3848, allocations: 407.3 kB / 0.5094 GB, free: 36.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3849, allocations: 9.656 kB / 0.5094 GB, free: 36.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3849, allocations: 9.438 kB / 0.5094 GB, free: 36.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.3851, allocations: 199.9 kB / 0.5096 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3851, allocations: 11.44 kB / 0.5096 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3851, allocations: 384 / 0.5096 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.3853, allocations: 59.56 kB / 0.5096 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3853, allocations: 4 kB / 0.5096 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3853, allocations: 0 / 0.5096 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3853, allocations: 0 / 0.5096 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.143e-05/0.3854, allocations: 32.7 kB / 0.5097 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.3858, allocations: 305.3 kB / 0.51 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.3859, allocations: 48.45 kB / 0.51 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.386, allocations: 20.3 kB / 0.51 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.386, allocations: 0 / 0.51 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.386, allocations: 30.56 kB / 0.5101 GB, free: 35.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.386, allocations: 0 / 0.5101 GB, free: 35.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008251/0.3868, allocations: 244.9 kB / 0.5103 GB, free: 35.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.3869, allocations: 51.41 kB / 0.5103 GB, free: 35.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.387, allocations: 210.4 kB / 0.5105 GB, free: 35.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.3871, allocations: 29.7 kB / 0.5106 GB, free: 35.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.3871, allocations: 101.4 kB / 0.5107 GB, free: 35.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.3871, allocations: 26.75 kB / 0.5107 GB, free: 35.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.3872, allocations: 26.81 kB / 0.5107 GB, free: 35.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.3873, allocations: 321.2 kB / 0.511 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.3873, allocations: 28.59 kB / 0.511 GB, free: 35.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.3874, allocations: 31.59 kB / 0.5111 GB, free: 35.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3876, allocations: 75.38 kB / 0.5111 GB, free: 35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3876, allocations: 0 / 0.5111 GB, free: 35 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001901/0.3878, allocations: 115.5 kB / 0.5113 GB, free: 34.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3878, allocations: 2.875 kB / 0.5113 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3878, allocations: 0 / 0.5113 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3878, allocations: 2.875 kB / 0.5113 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.3879, allocations: 21.47 kB / 0.5113 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3879, allocations: 11.19 kB / 0.5113 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.388, allocations: 2.906 kB / 0.5113 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.388, allocations: 10.84 kB / 0.5113 GB, free: 34.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.917e-05/0.3881, allocations: 126.4 kB / 0.5114 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.3881, allocations: 13.81 kB / 0.5114 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.3884, allocations: 132.5 kB / 0.5116 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3884, allocations: 0 / 0.5116 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3884, allocations: 6.812 kB / 0.5116 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3884, allocations: 0 / 0.5116 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.3888, allocations: 413.6 kB / 0.512 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3888, allocations: 2.438 kB / 0.512 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.3889, allocations: 19.98 kB / 0.512 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3889, allocations: 0 / 0.512 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.3889, allocations: 2.969 kB / 0.512 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3889, allocations: 0 / 0.512 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3889, allocations: 6.312 kB / 0.512 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.3893, allocations: 0.8104 MB / 0.5128 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.3894, allocations: 86.17 kB / 0.5129 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3894, allocations: 0 / 0.5129 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.3895, allocations: 9.844 kB / 0.5129 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.3895, allocations: 16.55 kB / 0.5129 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3895, allocations: 3.359 kB / 0.5129 GB, free: 33.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.525e-05/0.3896, allocations: 158.5 kB / 0.513 GB, free: 33.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3896, allocations: 0 / 0.513 GB, free: 33.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003325/0.39, allocations: 25.59 kB / 0.5131 GB, free: 33.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009455/0.3909, allocations: 451.4 kB / 0.5135 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.3912, allocations: 73.83 kB / 0.5136 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3912, allocations: 0 / 0.5136 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.3913, allocations: 43.14 kB / 0.5136 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.3916, allocations: 27.97 kB / 0.5136 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.3921, allocations: 410.4 kB / 0.514 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.3923, allocations: 0.7135 MB / 0.5147 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.361e-05/0.3923, allocations: 26.28 kB / 0.5148 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.3924, allocations: 12.62 kB / 0.5148 GB, free: 32.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3924, allocations: 3.938 kB / 0.5148 GB, free: 32.07 MB / 378.7 MB Notification: Performance of Templates: time 0.003482/0.3958, allocations: 1.319 MB / 0.5161 GB, free: 31.91 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches