Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.0008889, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008892/0.0008893, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3238/0.3238, allocations: 43.55 MB / 314.5 MB, free: 9.023 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004669, allocations: 18.97 kB / 383.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1278, allocations: 58.86 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002524/0.1304, allocations: 1.311 MB / 444.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008318/0.1313, allocations: 295.8 kB / 444.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.1314, allocations: 0 / 444.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007931/0.1322, allocations: 443.2 kB / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.1327, allocations: 243.5 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005902/0.1333, allocations: 135.8 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.1336, allocations: 115.8 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1337, allocations: 15.98 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.134, allocations: 107.7 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.1343, allocations: 151.7 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1343, allocations: 3.938 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1345, allocations: 27.92 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.1346, allocations: 75.75 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.659e-05/0.1347, allocations: 73.45 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.1351, allocations: 187.9 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1351, allocations: 0 / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1351, allocations: 0 / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.1351, allocations: 0 / 445.9 MB, free: 10.13 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.001118/0.1363, allocations: 0.6104 MB / 446.5 MB, free: 9.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.1363, allocations: 12.02 kB / 446.5 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1364, allocations: 47.38 kB / 446.6 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.1369, allocations: 275.4 kB / 446.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1369, allocations: 7.938 kB / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.1369, allocations: 0 / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.1372, allocations: 61.67 kB / 446.9 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1372, allocations: 4 kB / 446.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1373, allocations: 4 kB / 446.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1373, allocations: 4 kB / 446.9 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.1375, allocations: 43.92 kB / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.1383, allocations: 416.6 kB / 447.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.1385, allocations: 58.53 kB / 447.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.1386, allocations: 0 / 447.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1386, allocations: 34.56 kB / 447.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.1386, allocations: 0 / 447.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001304/0.1399, allocations: 344 kB / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.14, allocations: 55.41 kB / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.1413, allocations: 0.8613 MB / 448.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.1413, allocations: 25.7 kB / 448.7 MB, free: 7.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.1416, allocations: 220 kB / 448.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.1416, allocations: 19.66 kB / 449 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.1416, allocations: 0 / 449 MB, free: 6.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1419, allocations: 366.8 kB / 449.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.142, allocations: 47.97 kB / 449.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.1422, allocations: 39.97 kB / 449.4 MB, free: 6.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.1425, allocations: 59.91 kB / 449.5 MB, free: 6.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1425, allocations: 0 / 449.5 MB, free: 6.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005257/0.143, allocations: 173.1 kB / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1431, allocations: 7.953 kB / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1431, allocations: 320 / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1431, allocations: 0 / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.1433, allocations: 23.98 kB / 449.7 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1433, allocations: 0 / 449.7 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.1434, allocations: 19.92 kB / 449.7 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.1435, allocations: 15.92 kB / 449.7 MB, free: 6.105 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002761/0.1438, allocations: 213.8 kB / 449.9 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.1439, allocations: 47.47 kB / 450 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005888/0.1445, allocations: 201.3 kB / 450.2 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1445, allocations: 0 / 450.2 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1445, allocations: 0 / 450.2 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1445, allocations: 0 / 450.2 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.1456, allocations: 0.5296 MB / 450.7 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1456, allocations: 0 / 450.7 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.1457, allocations: 27.94 kB / 450.7 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1458, allocations: 0 / 450.7 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1458, allocations: 4 kB / 450.7 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.1458, allocations: 0 / 450.7 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1458, allocations: 0 / 450.7 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.1464, allocations: 266.9 kB / 451 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.1465, allocations: 116.6 kB / 451.1 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.1466, allocations: 7.891 kB / 451.1 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.1468, allocations: 11.98 kB / 451.1 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.1469, allocations: 8 kB / 451.1 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1469, allocations: 4 kB / 451.1 MB, free: 4.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009569/0.1479, allocations: 0.6511 MB / 451.8 MB, free: 3.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1479, allocations: 0 / 451.8 MB, free: 3.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000478/0.1484, allocations: 27.98 kB / 451.8 MB, free: 3.902 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/0.1496, allocations: 405.2 kB / 452.2 MB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.1501, allocations: 107.9 kB / 452.3 MB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1501, allocations: 0 / 452.3 MB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.1503, allocations: 63.91 kB / 452.4 MB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1507, allocations: 21.95 kB / 452.4 MB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.1523, allocations: 0.8455 MB / 453.2 MB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/0.1529, allocations: 0.8418 MB / 454.1 MB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.153, allocations: 20.95 kB / 454.1 MB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.1531, allocations: 11.44 kB / 454.1 MB, free: 1.574 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1531, allocations: 0 / 454.1 MB, free: 1.574 MB / 382.1 MB Notification: Performance of Templates: time 0.006244/0.1593, allocations: 1.466 MB / 455.6 MB, free: 108 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches