Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 113.4 kB / 18.45 MB, free: 4.641 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.001004/0.001004, allocations: 186.2 kB / 19.38 MB, free: 3.719 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.318/1.318, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2429/0.2429, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4117, allocations: 60.83 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002959/0.4147, allocations: 1.627 MB / 0.5212 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.4161, allocations: 1.057 MB / 0.5222 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.4162, allocations: 0 / 0.5222 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.4164, allocations: 24.64 kB / 0.5222 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.4167, allocations: 45.95 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.4171, allocations: 178.2 kB / 0.5224 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.4173, allocations: 69.64 kB / 0.5225 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.4174, allocations: 20.08 kB / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.054e-05/0.4174, allocations: 29 kB / 0.5226 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.4176, allocations: 33.09 kB / 0.5226 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.4176, allocations: 4.531 kB / 0.5226 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.4177, allocations: 54.08 kB / 0.5226 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.4178, allocations: 21.16 kB / 0.5227 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.4179, allocations: 19.05 kB / 0.5227 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.4181, allocations: 103.8 kB / 0.5228 GB, free: 1.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4181, allocations: 1.219 kB / 0.5228 GB, free: 1.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4181, allocations: 0 / 0.5228 GB, free: 1.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.4181, allocations: 1.312 kB / 0.5228 GB, free: 1.449 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004173/0.4185, allocations: 385.8 kB / 0.5231 GB, free: 1.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4186, allocations: 10.19 kB / 0.5232 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.4186, allocations: 9.359 kB / 0.5232 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.4188, allocations: 190 kB / 0.5233 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.4188, allocations: 2.547 kB / 0.5233 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.4188, allocations: 7.312 kB / 0.5234 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.419, allocations: 75.61 kB / 0.5234 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.419, allocations: 4 kB / 0.5234 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4191, allocations: 2.234 kB / 0.5234 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4191, allocations: 5.375 kB / 0.5234 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.4192, allocations: 39.5 kB / 0.5235 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.4196, allocations: 310.8 kB / 0.5238 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4197, allocations: 50.98 kB / 0.5238 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.4198, allocations: 29.14 kB / 0.5238 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.4198, allocations: 0.75 kB / 0.5239 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.4199, allocations: 32.16 kB / 0.5239 GB, free: 392 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.4199, allocations: 1.375 kB / 0.5239 GB, free: 392 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007587/0.4206, allocations: 223.8 kB / 0.5241 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.4207, allocations: 80.06 kB / 0.5242 GB, free: 208 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.4208, allocations: 137.6 kB / 0.5243 GB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.4208, allocations: 27.67 kB / 0.5243 GB, free: 60 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.4209, allocations: 92.94 kB / 0.5244 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.4209, allocations: 21.41 kB / 0.5244 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.421, allocations: 24.62 kB / 0.5245 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4211, allocations: 322.7 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.4212, allocations: 42.86 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.4214, allocations: 51.75 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.4216, allocations: 90.98 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4216, allocations: 0 / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002981/0.4219, allocations: 118.5 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4219, allocations: 8.438 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.422, allocations: 1.562 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.422, allocations: 0.7031 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4221, allocations: 22.95 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.4221, allocations: 0 / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.4222, allocations: 13.62 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.4222, allocations: 5.656 kB / 0.5251 GB, free: 15.48 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 (7): * Single equations (assignments): 7 * 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.43e-05/0.4223, allocations: 118.4 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.4223, allocations: 9.031 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.4227, allocations: 144.5 kB / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.4227, allocations: 0.5156 kB / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4227, allocations: 0 / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4227, allocations: 4.641 kB / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006954/0.4234, allocations: 405.5 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4234, allocations: 0 / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.4235, allocations: 23.2 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.4236, allocations: 3.938 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4236, allocations: 6.078 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4236, allocations: 0 / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4236, allocations: 1.438 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.4241, allocations: 222.4 kB / 0.526 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.4241, allocations: 82.91 kB / 0.5261 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.4242, allocations: 5.844 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.4243, allocations: 12.73 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.4244, allocations: 10.33 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.4244, allocations: 9.734 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.4245, allocations: 104.2 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.42e-07/0.4245, allocations: 0 / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004058/0.4249, allocations: 27.72 kB / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001276/0.4262, allocations: 441.7 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003893/0.4266, allocations: 93.53 kB / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4266, allocations: 1.562 kB / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.4268, allocations: 50.62 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.4272, allocations: 18.84 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.4278, allocations: 220.3 kB / 0.527 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.4282, allocations: 0.7061 MB / 0.5277 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.4282, allocations: 16.44 kB / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4283, allocations: 0 / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of Templates: time 0.004769/0.433, allocations: 1.812 MB / 0.5295 GB, free: 12.7 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches