Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 111.3 kB / 18.45 MB, free: 4.645 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.001083/0.001083, allocations: 186.2 kB / 19.38 MB, free: 3.723 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.346/1.346, 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.2091/0.2091, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.89 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.382, allocations: 60.82 MB / 0.5197 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003087/0.3851, allocations: 1.723 MB / 0.5213 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3866, allocations: 0.8842 MB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.3867, allocations: 1.062 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003831/0.3871, allocations: 80.94 kB / 0.5223 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.3874, allocations: 83.89 kB / 0.5224 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.3877, allocations: 109.8 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.3879, allocations: 113.2 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3881, allocations: 17.5 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.3882, allocations: 51.48 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3883, allocations: 60.48 kB / 0.5227 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.3883, allocations: 4.281 kB / 0.5227 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.3885, allocations: 59.88 kB / 0.5228 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.3886, allocations: 27.41 kB / 0.5228 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.3886, allocations: 34.92 kB / 0.5228 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.3889, allocations: 138.5 kB / 0.5229 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3889, allocations: 0 / 0.5229 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3889, allocations: 1.125 kB / 0.523 GB, free: 1.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.3889, allocations: 0 / 0.523 GB, free: 1.492 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000524/0.3894, allocations: 427.2 kB / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3895, allocations: 9.125 kB / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.3895, allocations: 10.72 kB / 0.5234 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.3898, allocations: 215.7 kB / 0.5236 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3898, allocations: 3.438 kB / 0.5236 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.3899, allocations: 7.156 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.39, allocations: 61.17 kB / 0.5237 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3901, allocations: 0.7031 kB / 0.5237 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3901, allocations: 5.062 kB / 0.5237 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3901, allocations: 1.094 kB / 0.5237 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.381e-05/0.3902, allocations: 21.67 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.3906, allocations: 303 kB / 0.524 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.3908, allocations: 68.64 kB / 0.524 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.155e-05/0.3909, allocations: 29.48 kB / 0.5241 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3909, allocations: 1.094 kB / 0.5241 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.3911, allocations: 71.53 kB / 0.5241 GB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3911, allocations: 0 / 0.5241 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007598/0.3918, allocations: 240.7 kB / 0.5244 GB, free: 276 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.3919, allocations: 57.25 kB / 0.5244 GB, free: 208 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.3921, allocations: 213.3 kB / 0.5246 GB, free: 68 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3921, allocations: 32.95 kB / 0.5246 GB, free: 32 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.3922, allocations: 103.7 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.3923, allocations: 32.73 kB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.3923, allocations: 36.23 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3925, allocations: 322.7 kB / 0.5251 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/0.3926, allocations: 35.5 kB / 0.5252 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.894e-05/0.3927, allocations: 44.2 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3928, allocations: 75.84 kB / 0.5253 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3928, allocations: 11.94 kB / 0.5253 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002297/0.3931, allocations: 125.7 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3931, allocations: 5.125 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3931, allocations: 1.375 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3931, allocations: 1.734 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.3932, allocations: 19.62 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.3932, allocations: 9.594 kB / 0.5254 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.3933, allocations: 6.984 kB / 0.5254 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3933, allocations: 4.453 kB / 0.5254 GB, free: 15.39 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 (13): * Single equations (assignments): 13 * 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.0001108/0.3934, allocations: 131.6 kB / 0.5256 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.3934, allocations: 11.73 kB / 0.5256 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.3935, allocations: 17.25 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3935, allocations: 1.25 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3935, allocations: 3.938 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3935, allocations: 1.922 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.3941, allocations: 459.3 kB / 0.526 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3941, allocations: 0 / 0.526 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.3942, allocations: 18.59 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3942, allocations: 1.312 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3942, allocations: 2.031 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3942, allocations: 2.016 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3942, allocations: 1.438 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.3945, allocations: 244.6 kB / 0.5263 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.3945, allocations: 89.67 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3946, allocations: 2.672 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.3947, allocations: 4.203 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.3947, allocations: 10.69 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.3947, allocations: 7.734 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.3949, allocations: 153.8 kB / 0.5266 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3949, allocations: 0 / 0.5266 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.3952, allocations: 34.59 kB / 0.5266 GB, free: 14.44 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.00121/0.3964, allocations: 0.5202 MB / 0.5271 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3966, allocations: 78.09 kB / 0.5272 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3966, allocations: 0 / 0.5272 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.3967, allocations: 39.25 kB / 0.5272 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3971, allocations: 35.53 kB / 0.5272 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/0.3977, allocations: 301.9 kB / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.398, allocations: 0.712 MB / 0.5282 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.3981, allocations: 26.98 kB / 0.5283 GB, free: 13.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3981, allocations: 3.938 kB / 0.5283 GB, free: 13.21 MB / 398.1 MB Notification: Performance of Templates: time 0.004606/0.4027, allocations: 2.198 MB / 0.5304 GB, free: 12.31 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches