Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, 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.324/1.324, 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.001276/0.001276, allocations: 101 kB / 291.9 MB, free: 10.95 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.3819/0.3819, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 51.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3769, allocations: 60.8 MB / 0.5064 GB, free: 38.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002913/0.3799, allocations: 1.765 MB / 0.5081 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3815, allocations: 0.8757 MB / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.3816, allocations: 1.375 kB / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.382, allocations: 49.95 kB / 0.509 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.3822, allocations: 57.45 kB / 0.5091 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.3825, allocations: 90.7 kB / 0.5092 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.3827, allocations: 99.62 kB / 0.5093 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3828, allocations: 9.891 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.3829, allocations: 46.55 kB / 0.5093 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.383, allocations: 30.72 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.383, allocations: 2.906 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.301e-05/0.3831, allocations: 45.58 kB / 0.5094 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.3832, allocations: 22.83 kB / 0.5094 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.3832, allocations: 50.38 kB / 0.5095 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.3834, allocations: 119.7 kB / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3834, allocations: 0 / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3834, allocations: 0 / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3834, allocations: 0 / 0.5096 GB, free: 36.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005028/0.3839, allocations: 438.3 kB / 0.51 GB, free: 35.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.384, allocations: 8.594 kB / 0.51 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.384, allocations: 24.64 kB / 0.51 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.3843, allocations: 214.5 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3843, allocations: 384 / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.3843, allocations: 14.94 kB / 0.5102 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3845, allocations: 53.8 kB / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3845, allocations: 3.938 kB / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3845, allocations: 4 kB / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3846, allocations: 0 / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.3846, allocations: 18.23 kB / 0.5103 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.385, allocations: 297.6 kB / 0.5106 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.3852, allocations: 56.02 kB / 0.5107 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.3852, allocations: 20.61 kB / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3852, allocations: 2.812 kB / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.3854, allocations: 69.62 kB / 0.5107 GB, free: 35.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3854, allocations: 2.938 kB / 0.5107 GB, free: 35.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004912/0.3859, allocations: 178.1 kB / 0.5109 GB, free: 35.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.386, allocations: 54.16 kB / 0.511 GB, free: 34.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.3862, allocations: 263.5 kB / 0.5112 GB, free: 34.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.3862, allocations: 25.7 kB / 0.5112 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.3863, allocations: 112.4 kB / 0.5113 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.3863, allocations: 30.11 kB / 0.5114 GB, free: 34.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.3863, allocations: 25.47 kB / 0.5114 GB, free: 34.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.3864, allocations: 328.5 kB / 0.5117 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.078e-05/0.3865, allocations: 23.19 kB / 0.5117 GB, free: 34.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.3865, allocations: 34.52 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.844e-05/0.3866, allocations: 63.28 kB / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3866, allocations: 4 kB / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001574/0.3868, allocations: 104.5 kB / 0.5119 GB, free: 34.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3868, allocations: 9.625 kB / 0.5119 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3868, allocations: 0 / 0.5119 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3869, allocations: 0 / 0.5119 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.453e-05/0.3869, allocations: 17.36 kB / 0.512 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.387, allocations: 0 / 0.512 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.387, allocations: 6.812 kB / 0.512 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.387, allocations: 6.875 kB / 0.512 GB, free: 34.18 MB / 378.7 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.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.497e-05/0.3871, allocations: 146.9 kB / 0.5121 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.3871, allocations: 12.44 kB / 0.5121 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.3872, allocations: 15.12 kB / 0.5121 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3872, allocations: 6.219 kB / 0.5121 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3872, allocations: 0 / 0.5121 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3872, allocations: 3.938 kB / 0.5121 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.3876, allocations: 406.5 kB / 0.5125 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3876, allocations: 4.031 kB / 0.5125 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.3876, allocations: 11.22 kB / 0.5126 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3876, allocations: 2.344 kB / 0.5126 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3876, allocations: 11.36 kB / 0.5126 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3876, allocations: 2.875 kB / 0.5126 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3877, allocations: 0 / 0.5126 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.388, allocations: 0.7917 MB / 0.5133 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.3881, allocations: 87.64 kB / 0.5134 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.3881, allocations: 6.594 kB / 0.5134 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.3882, allocations: 3.422 kB / 0.5134 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.3882, allocations: 9.188 kB / 0.5134 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3882, allocations: 10.02 kB / 0.5135 GB, free: 32.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.3884, allocations: 198.9 kB / 0.5136 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3884, allocations: 0 / 0.5136 GB, free: 32.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.3887, allocations: 31.97 kB / 0.5137 GB, free: 32.66 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0009897/0.3897, allocations: 455.3 kB / 0.5141 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.3899, allocations: 71 kB / 0.5142 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3899, allocations: 0 / 0.5142 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.428e-05/0.39, allocations: 22.97 kB / 0.5142 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3903, allocations: 31.92 kB / 0.5142 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.3909, allocations: 439.3 kB / 0.5146 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.391, allocations: 0.7181 MB / 0.5153 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.121e-05/0.3911, allocations: 17.97 kB / 0.5154 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.3911, allocations: 23.55 kB / 0.5154 GB, free: 31.35 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3911, allocations: 3.938 kB / 0.5154 GB, free: 31.35 MB / 378.7 MB Notification: Performance of Templates: time 0.004116/0.3953, allocations: 1.708 MB / 0.5171 GB, free: 31.15 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches