Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.001169, allocations: 112.9 kB / 18.45 MB, free: 4.598 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.001179/0.001179, allocations: 183 kB / 19.39 MB, free: 3.672 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 / 243.1 MB, free: 15.04 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.2152/0.2152, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.83 kB / 471.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3846, allocations: 60.82 MB / 0.5197 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002738/0.3873, allocations: 1.714 MB / 0.5213 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3886, allocations: 0.8711 MB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.3887, allocations: 5.062 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.389, allocations: 33.69 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.3892, allocations: 58.47 kB / 0.5223 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.3896, allocations: 109 kB / 0.5224 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.3897, allocations: 92.2 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.3898, allocations: 16.47 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.3899, allocations: 45.41 kB / 0.5225 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.398e-05/0.39, allocations: 30.45 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.39, allocations: 4.094 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-05/0.3901, allocations: 42.53 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.3902, allocations: 21.92 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.3903, allocations: 28.61 kB / 0.5226 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3905, allocations: 111.1 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3905, allocations: 0 / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3905, allocations: 3.938 kB / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3905, allocations: 0 / 0.5228 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.0004278/0.3909, allocations: 413.3 kB / 0.5231 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.391, allocations: 8.719 kB / 0.5232 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.391, allocations: 14.02 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.3912, allocations: 202.2 kB / 0.5234 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3913, allocations: 5.656 kB / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.3913, allocations: 6.375 kB / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.3914, allocations: 53.81 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3915, allocations: 5.875 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3915, allocations: 3.938 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3915, allocations: 5.156 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.3916, allocations: 17.88 kB / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.3919, allocations: 284.7 kB / 0.5237 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.3921, allocations: 57.73 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.3921, allocations: 24 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3921, allocations: 4.562 kB / 0.5238 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.3923, allocations: 69.77 kB / 0.5239 GB, free: 460 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3923, allocations: 5.031 kB / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005149/0.3928, allocations: 172 kB / 0.524 GB, free: 368 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.3928, allocations: 56.47 kB / 0.5241 GB, free: 300 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.393, allocations: 171.6 kB / 0.5243 GB, free: 176 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.393, allocations: 31.08 kB / 0.5243 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.3931, allocations: 99 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.3931, allocations: 24.66 kB / 0.5244 GB, free: 24 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.3931, allocations: 22.45 kB / 0.5244 GB, free: 4 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3933, allocations: 333.9 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.3933, allocations: 17.83 kB / 0.5248 GB, free: 15.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/0.3934, allocations: 35.3 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.3936, allocations: 73.48 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3936, allocations: 0 / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.3938, allocations: 97.5 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3938, allocations: 5.344 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3938, allocations: 1.812 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3938, allocations: 0.6562 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.3939, allocations: 19.5 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3939, allocations: 2.062 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.394, allocations: 10.95 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.394, allocations: 6.719 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 9.145e-05/0.3941, allocations: 123.7 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.3941, allocations: 13.77 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.3942, allocations: 13.91 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3942, allocations: 0.5625 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.3942, allocations: 6.031 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.3942, allocations: 83.55 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.3943, allocations: 7.547 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/0.3943, allocations: 4.656 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.3943, allocations: 6.219 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002274/0.3946, allocations: 174.7 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002454/0.3948, allocations: 275.3 kB / 0.5257 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.982e-05/0.3949, allocations: 25.72 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.395, allocations: 138.3 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of Backend: time 3.1e-07/0.395, allocations: 0 / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.3964, allocations: 491.1 kB / 0.5263 GB, free: 14.61 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006228/0.3971, allocations: 0.6591 MB / 0.527 GB, free: 13.98 MB / 398.1 MB Notification: Performance of Templates: time 0.004807/0.4019, allocations: 1.749 MB / 0.5287 GB, free: 13.45 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches