Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 114 kB / 18.45 MB, free: 4.602 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.001272/0.001272, allocations: 185.9 kB / 19.38 MB, free: 3.68 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.382/1.382, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2097/0.2097, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3859, allocations: 60.82 MB / 0.5197 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003145/0.389, allocations: 1.709 MB / 0.5213 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3903, allocations: 0.8764 MB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.3904, allocations: 1.156 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.3907, allocations: 38.03 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.3909, allocations: 51.98 kB / 0.5223 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.3912, allocations: 116.6 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.3914, allocations: 101.3 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.916e-05/0.3915, allocations: 8.016 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.444e-05/0.3916, allocations: 41.12 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.3916, allocations: 29.52 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.3917, allocations: 3.969 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.393e-05/0.3918, allocations: 42.5 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.3918, allocations: 22.48 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.3919, allocations: 42.36 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.3921, allocations: 110.5 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3921, allocations: 0 / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3921, allocations: 0.875 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.3921, allocations: 0 / 0.5228 GB, free: 1.547 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.000503/0.3926, allocations: 405 kB / 0.5231 GB, free: 1.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3927, allocations: 9.062 kB / 0.5232 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.3927, allocations: 14.47 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.393, allocations: 209.8 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.393, allocations: 1.938 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.393, allocations: 6.375 kB / 0.5234 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3932, allocations: 55.2 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3932, allocations: 3.906 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3932, allocations: 0.9375 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3932, allocations: 5.125 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.23e-05/0.3933, allocations: 21.72 kB / 0.5235 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.3936, allocations: 286.3 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3938, allocations: 56.5 kB / 0.5238 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.3939, allocations: 20.98 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3939, allocations: 1.344 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.394, allocations: 72.75 kB / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.394, allocations: 5.031 kB / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005027/0.3945, allocations: 180.6 kB / 0.5241 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.3946, allocations: 55.41 kB / 0.5241 GB, free: 308 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.3947, allocations: 186.9 kB / 0.5243 GB, free: 176 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.3948, allocations: 27.23 kB / 0.5243 GB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.3948, allocations: 99.47 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.3949, allocations: 26.38 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.3949, allocations: 25.27 kB / 0.5245 GB, free: 4 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3951, allocations: 334.9 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.3951, allocations: 16.78 kB / 0.5248 GB, free: 15.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.3952, allocations: 36.84 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3953, allocations: 56.81 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3953, allocations: 0 / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.3955, allocations: 109.9 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3956, allocations: 7.344 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3956, allocations: 1.344 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3956, allocations: 2.297 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.503e-05/0.3957, allocations: 22.08 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.3957, allocations: 1.969 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.3958, allocations: 6.688 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3958, allocations: 7.219 kB / 0.525 GB, free: 15.53 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.0001171/0.3959, allocations: 128.9 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.3959, allocations: 13.53 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.396, allocations: 15.83 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.396, allocations: 0.7031 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.396, allocations: 1.281 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.396, allocations: 84.81 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.3961, allocations: 5.281 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.3961, allocations: 2.562 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.3962, allocations: 13.75 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002286/0.3964, allocations: 173.3 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002538/0.3967, allocations: 280.2 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.595e-05/0.3967, allocations: 25.36 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.3969, allocations: 144 kB / 0.5259 GB, free: 14.81 MB / 398.1 MB Notification: Performance of Backend: time 2e-07/0.3969, allocations: 0 / 0.5259 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.3982, allocations: 493.6 kB / 0.5264 GB, free: 14.61 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006525/0.3989, allocations: 0.6639 MB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Templates: time 0.004725/0.4036, allocations: 1.762 MB / 0.5287 GB, free: 13.44 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches