Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001306, allocations: 106.4 kB / 17.77 MB, free: 5.391 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.001134/0.001134, allocations: 187.9 kB / 18.7 MB, free: 4.469 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.401/1.401, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2625/0.2625, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 67.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3797, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003015/0.3827, allocations: 1.642 MB / 0.5205 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007655/0.3835, allocations: 451.4 kB / 0.521 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.3836, allocations: 1.281 kB / 0.521 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.3839, allocations: 50.89 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.3841, allocations: 47.88 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.3846, allocations: 175.9 kB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.3848, allocations: 81.08 kB / 0.5213 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3849, allocations: 17.66 kB / 0.5213 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.385, allocations: 34.2 kB / 0.5213 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3851, allocations: 44.77 kB / 0.5214 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.3851, allocations: 4.594 kB / 0.5214 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.3852, allocations: 51.16 kB / 0.5214 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.3853, allocations: 27.5 kB / 0.5215 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.3854, allocations: 31.66 kB / 0.5215 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.3856, allocations: 98.33 kB / 0.5216 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3856, allocations: 0 / 0.5216 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3856, allocations: 0 / 0.5216 GB, free: 1.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.3856, allocations: 1.094 kB / 0.5216 GB, free: 1.883 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004625/0.3861, allocations: 409.1 kB / 0.522 GB, free: 1.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3861, allocations: 8.719 kB / 0.522 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.3862, allocations: 13.03 kB / 0.522 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.3864, allocations: 194.1 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3864, allocations: 1.562 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.3864, allocations: 12.2 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.3866, allocations: 65.92 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3866, allocations: 1.766 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3866, allocations: 4 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3866, allocations: 5.125 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.3868, allocations: 46.16 kB / 0.5223 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.3872, allocations: 317.3 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.3874, allocations: 60.17 kB / 0.5227 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/0.3875, allocations: 30.73 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3875, allocations: 1.156 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.3876, allocations: 32.39 kB / 0.5227 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3876, allocations: 0 / 0.5227 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001662/0.3892, allocations: 422.2 kB / 0.5231 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.3893, allocations: 56.81 kB / 0.5232 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3894, allocations: 172.5 kB / 0.5234 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.3894, allocations: 25.7 kB / 0.5234 GB, free: 472 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.3895, allocations: 104 kB / 0.5235 GB, free: 372 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.3895, allocations: 30.36 kB / 0.5235 GB, free: 348 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.3896, allocations: 23.52 kB / 0.5235 GB, free: 328 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.3896, allocations: 327.4 kB / 0.5238 GB, free: 0 / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3898, allocations: 62.81 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.3899, allocations: 51.22 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.3902, allocations: 124.2 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3902, allocations: 0 / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003312/0.3906, allocations: 176.8 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3906, allocations: 5.703 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3906, allocations: 3.938 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3906, allocations: 1.5 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3907, allocations: 28.67 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3907, allocations: 1.688 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.3908, allocations: 9.203 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3908, allocations: 10.62 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001047/0.3909, allocations: 126.9 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.391, allocations: 8.5 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.3914, allocations: 190.2 kB / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3914, allocations: 2.438 kB / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3914, allocations: 0 / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3914, allocations: 4.75 kB / 0.5246 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007243/0.3922, allocations: 497.5 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3922, allocations: 6.5 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.3923, allocations: 30.81 kB / 0.5251 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3923, allocations: 5.438 kB / 0.5251 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3923, allocations: 3.453 kB / 0.5251 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3923, allocations: 1.562 kB / 0.5251 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3923, allocations: 1.375 kB / 0.5251 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.3927, allocations: 274.3 kB / 0.5254 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.3928, allocations: 85.08 kB / 0.5255 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.3928, allocations: 5.375 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.3929, allocations: 10.39 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.393, allocations: 7.922 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.393, allocations: 8.125 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.642e-05/0.3931, allocations: 134.3 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3931, allocations: 0 / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.3934, allocations: 30.86 kB / 0.5257 GB, free: 14.8 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0009819/0.3943, allocations: 455.1 kB / 0.5261 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.3947, allocations: 129.9 kB / 0.5262 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3947, allocations: 0 / 0.5262 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3949, allocations: 70.42 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3953, allocations: 16.33 kB / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.3959, allocations: 286.9 kB / 0.5266 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3962, allocations: 0.7165 MB / 0.5273 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.3963, allocations: 38.22 kB / 0.5273 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.3964, allocations: 15.42 kB / 0.5273 GB, free: 13.61 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3964, allocations: 3.938 kB / 0.5273 GB, free: 13.6 MB / 398.1 MB Notification: Performance of Templates: time 0.004228/0.4006, allocations: 1.628 MB / 0.5289 GB, free: 12.88 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches