Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 111.3 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.001422/0.001422, allocations: 186.2 kB / 19.37 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.311/1.311, allocations: 222.9 MB / 243.1 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.201/0.201, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 63.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4119, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003093/0.415, allocations: 1.65 MB / 0.5212 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008077/0.4159, allocations: 424.7 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.416, allocations: 1.125 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.4162, allocations: 57.25 kB / 0.5217 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.4165, allocations: 60.7 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.4169, allocations: 134.2 kB / 0.5218 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.4171, allocations: 75.03 kB / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.4172, allocations: 15.47 kB / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.68e-05/0.4173, allocations: 37.25 kB / 0.522 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.4174, allocations: 45.06 kB / 0.522 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.4174, allocations: 11.25 kB / 0.522 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.4176, allocations: 47.92 kB / 0.5221 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.4177, allocations: 24.72 kB / 0.5221 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.4177, allocations: 31.38 kB / 0.5221 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.418, allocations: 105.1 kB / 0.5222 GB, free: 1.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.418, allocations: 0 / 0.5222 GB, free: 1.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.418, allocations: 1.031 kB / 0.5222 GB, free: 1.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.418, allocations: 0 / 0.5222 GB, free: 1.914 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.0005847/0.4186, allocations: 405.1 kB / 0.5226 GB, free: 1.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4187, allocations: 14.28 kB / 0.5226 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.4187, allocations: 13.09 kB / 0.5226 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.4189, allocations: 187.5 kB / 0.5228 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.4189, allocations: 3.562 kB / 0.5228 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.4189, allocations: 6.812 kB / 0.5228 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.4191, allocations: 67.36 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4192, allocations: 0 / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.4192, allocations: 5.844 kB / 0.5229 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.4192, allocations: 5.062 kB / 0.5229 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.4194, allocations: 39.22 kB / 0.5229 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.4197, allocations: 302.1 kB / 0.5232 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.42, allocations: 53.75 kB / 0.5233 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.4201, allocations: 24.03 kB / 0.5233 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.4201, allocations: 6.234 kB / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.4201, allocations: 35.97 kB / 0.5233 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.4201, allocations: 0 / 0.5233 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001441/0.4216, allocations: 386 kB / 0.5237 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.4216, allocations: 56.69 kB / 0.5238 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4218, allocations: 181.8 kB / 0.5239 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.4218, allocations: 29.7 kB / 0.524 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.4218, allocations: 95.56 kB / 0.5241 GB, free: 420 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.4219, allocations: 38.92 kB / 0.5241 GB, free: 388 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.4219, allocations: 23.25 kB / 0.5241 GB, free: 368 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.422, allocations: 321.7 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4221, allocations: 47.03 kB / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.4222, allocations: 45.36 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.4225, allocations: 96.61 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4225, allocations: 1.469 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003346/0.4229, allocations: 145.6 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4229, allocations: 5.562 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4229, allocations: 0 / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.4229, allocations: 1.094 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.423, allocations: 25.38 kB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4231, allocations: 5.031 kB / 0.5248 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.4231, allocations: 16.92 kB / 0.5248 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.4232, allocations: 3.438 kB / 0.5248 GB, free: 15.89 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.0001252/0.4233, allocations: 133.2 kB / 0.5249 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.4233, allocations: 16.58 kB / 0.5249 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.4238, allocations: 166 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4238, allocations: 1.656 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4238, allocations: 0 / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4238, allocations: 0.6562 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007166/0.4245, allocations: 476.7 kB / 0.5256 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4245, allocations: 2.141 kB / 0.5256 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.4246, allocations: 28.38 kB / 0.5256 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4247, allocations: 1.469 kB / 0.5256 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.4247, allocations: 2.359 kB / 0.5256 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.4247, allocations: 9.375 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4247, allocations: 5.344 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.4251, allocations: 249.3 kB / 0.5258 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.4252, allocations: 89.14 kB / 0.5259 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.4252, allocations: 2.469 kB / 0.5259 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.4253, allocations: 8.453 kB / 0.5259 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.4254, allocations: 13.12 kB / 0.5259 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.4254, allocations: 8.344 kB / 0.526 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.4255, allocations: 139.2 kB / 0.5261 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4255, allocations: 0 / 0.5261 GB, free: 14.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.4258, allocations: 31.05 kB / 0.5261 GB, free: 14.88 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.001077/0.4269, allocations: 450.4 kB / 0.5265 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.4272, allocations: 115.5 kB / 0.5267 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4272, allocations: 1.375 kB / 0.5267 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.4274, allocations: 59.3 kB / 0.5267 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.4278, allocations: 23.14 kB / 0.5267 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.4283, allocations: 280.5 kB / 0.527 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.4287, allocations: 0.7135 MB / 0.5277 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.4287, allocations: 16.86 kB / 0.5277 GB, free: 13.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4287, allocations: 0 / 0.5277 GB, free: 13.68 MB / 398.1 MB Notification: Performance of Templates: time 0.003964/0.4327, allocations: 1.867 MB / 0.5295 GB, free: 12.92 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches