Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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/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 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(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 112.7 kB / 17.78 MB, free: 5.281 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.00109/0.00109, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2203/0.2203, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3834, allocations: 60.82 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002777/0.3862, allocations: 1.72 MB / 0.5207 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3874, allocations: 0.8752 MB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.3875, allocations: 5.094 kB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.3878, allocations: 34.28 kB / 0.5216 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.388, allocations: 57.36 kB / 0.5216 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.3882, allocations: 110.1 kB / 0.5217 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.3884, allocations: 96.05 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.3885, allocations: 9.844 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.3886, allocations: 42.17 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.3887, allocations: 34.72 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3887, allocations: 6.75 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.3888, allocations: 42.59 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.3888, allocations: 21.91 kB / 0.522 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.3889, allocations: 32.66 kB / 0.522 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.3891, allocations: 109.6 kB / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3891, allocations: 1.344 kB / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3891, allocations: 0 / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3891, allocations: 3.938 kB / 0.5221 GB, free: 1.543 MB / 382.1 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.0004345/0.3895, allocations: 404.9 kB / 0.5225 GB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3895, allocations: 13.31 kB / 0.5225 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.3896, allocations: 14.58 kB / 0.5225 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.3898, allocations: 201.8 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3898, allocations: 6.172 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.3898, allocations: 6.375 kB / 0.5227 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.39, allocations: 54.22 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.39, allocations: 4.688 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.39, allocations: 0.875 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.39, allocations: 0.9688 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.3901, allocations: 22.36 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.3904, allocations: 284 kB / 0.5231 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3905, allocations: 54.91 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.3906, allocations: 19.83 kB / 0.5231 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.3906, allocations: 1.344 kB / 0.5231 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.3908, allocations: 69.62 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.3908, allocations: 0 / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005344/0.3913, allocations: 173.2 kB / 0.5234 GB, free: 388 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.3913, allocations: 60.5 kB / 0.5234 GB, free: 316 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3915, allocations: 169.7 kB / 0.5236 GB, free: 192 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/0.3915, allocations: 29.64 kB / 0.5236 GB, free: 156 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.3915, allocations: 103.8 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.3916, allocations: 26.44 kB / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.3916, allocations: 22.48 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3917, allocations: 325.8 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.3918, allocations: 20.5 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.3919, allocations: 39.78 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.392, allocations: 62.03 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.392, allocations: 0 / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.3922, allocations: 104.8 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3922, allocations: 5.328 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3922, allocations: 1.875 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3922, allocations: 0 / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.282e-05/0.3923, allocations: 16.81 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3923, allocations: 0.6094 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.3924, allocations: 11.14 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3924, allocations: 15.12 kB / 0.5243 GB, free: 15.54 MB / 398.1 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 0.0001029/0.3925, allocations: 120 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.3925, allocations: 16.41 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.3925, allocations: 15.19 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3925, allocations: 1.75 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3926, allocations: 1.062 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3926, allocations: 8.578 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.393, allocations: 391.5 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.393, allocations: 2.625 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.393, allocations: 8.469 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.393, allocations: 0.5625 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3931, allocations: 6.438 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3931, allocations: 2 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3931, allocations: 0.75 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.3933, allocations: 201.2 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.3933, allocations: 87.28 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3934, allocations: 7.453 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.3934, allocations: 14.73 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.3935, allocations: 4.891 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3935, allocations: 4.719 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3936, allocations: 134.2 kB / 0.5253 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3936, allocations: 0 / 0.5253 GB, free: 14.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.3939, allocations: 18.06 kB / 0.5253 GB, free: 14.67 MB / 398.1 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.001098/0.395, allocations: 476.2 kB / 0.5258 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.3952, allocations: 54.7 kB / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3952, allocations: 4.062 kB / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.3952, allocations: 25.91 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3956, allocations: 27.61 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.3961, allocations: 213.8 kB / 0.5261 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3964, allocations: 0.704 MB / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.059e-05/0.3964, allocations: 20.48 kB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.3965, allocations: 25.12 kB / 0.5268 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3965, allocations: 0 / 0.5268 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004543/0.401, allocations: 1.712 MB / 0.5285 GB, free: 12.96 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches