Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 102.8 kB / 16.02 MB, free: 76 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.001245/0.001245, allocations: 183.6 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.4 MB / 223.1 MB, free: 5.516 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.4438/0.4438, allocations: 43.57 MB / 315 MB, free: 8.77 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.0005067/0.0005068, allocations: 16 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1409, allocations: 58.87 MB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002065/0.143, allocations: 1.333 MB / 444.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006692/0.1437, allocations: 327.7 kB / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.1438, allocations: 0 / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.144, allocations: 59.86 kB / 445.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.1442, allocations: 51.81 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.1446, allocations: 135.8 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.1447, allocations: 75.81 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1449, allocations: 20.25 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.71e-05/0.1449, allocations: 27.86 kB / 445.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.928e-05/0.1451, allocations: 35.83 kB / 445.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1451, allocations: 0 / 445.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.1452, allocations: 32 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.1452, allocations: 27.91 kB / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.1453, allocations: 45.52 kB / 445.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.1455, allocations: 95.62 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1455, allocations: 4 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1455, allocations: 0 / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.1455, allocations: 3.938 kB / 445.7 MB, free: 10.39 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.0005136/0.146, allocations: 391.1 kB / 446.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1461, allocations: 12.03 kB / 446.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.1461, allocations: 8.844 kB / 446.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.1463, allocations: 192.7 kB / 446.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1464, allocations: 4.375 kB / 446.3 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1464, allocations: 7.938 kB / 446.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.1466, allocations: 65.66 kB / 446.4 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1466, allocations: 4 kB / 446.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1466, allocations: 0 / 446.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1466, allocations: 4 kB / 446.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.1468, allocations: 47.91 kB / 446.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.1473, allocations: 312.7 kB / 446.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1474, allocations: 54.55 kB / 446.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.1475, allocations: 28.94 kB / 446.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1475, allocations: 0 / 446.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1476, allocations: 38.5 kB / 446.8 MB, free: 9.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1476, allocations: 0 / 446.8 MB, free: 9.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008318/0.1484, allocations: 265.1 kB / 447.1 MB, free: 8.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.1485, allocations: 63.33 kB / 447.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.1487, allocations: 178.5 kB / 447.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1487, allocations: 25.7 kB / 447.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/0.1488, allocations: 96.14 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1489, allocations: 27.64 kB / 447.5 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.1489, allocations: 9.719 kB / 447.5 MB, free: 8.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1491, allocations: 322.8 kB / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1492, allocations: 47.97 kB / 447.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1493, allocations: 47.97 kB / 447.9 MB, free: 7.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.1497, allocations: 105 kB / 448 MB, free: 7.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1497, allocations: 0 / 448 MB, free: 7.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000411/0.1501, allocations: 145.5 kB / 448.2 MB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1501, allocations: 8 kB / 448.2 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1501, allocations: 0 / 448.2 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1501, allocations: 0 / 448.2 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.1503, allocations: 31.92 kB / 448.2 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1503, allocations: 7.922 kB / 448.2 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.1504, allocations: 8 kB / 448.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.1504, allocations: 4 kB / 448.2 MB, free: 7.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.899e-05/0.1505, allocations: 129.8 kB / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.1505, allocations: 16.09 kB / 448.4 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.1509, allocations: 158.2 kB / 448.5 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1509, allocations: 7.984 kB / 448.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1509, allocations: 7.875 kB / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.151, allocations: 4 kB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007001/0.1517, allocations: 422.5 kB / 448.9 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1517, allocations: 0 / 448.9 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.541e-05/0.1518, allocations: 23.92 kB / 449 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1518, allocations: 3.938 kB / 449 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1518, allocations: 7.984 kB / 449 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1518, allocations: 4 kB / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1518, allocations: 0 / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.1522, allocations: 239.4 kB / 449.2 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.1523, allocations: 84.95 kB / 449.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1523, allocations: 8 kB / 449.3 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.1524, allocations: 11.98 kB / 449.3 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.1524, allocations: 7.984 kB / 449.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1524, allocations: 0 / 449.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1526, allocations: 140.1 kB / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1526, allocations: 0 / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1528, allocations: 20 kB / 449.5 MB, free: 6.289 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 (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.0009865/0.1538, allocations: 409.1 kB / 449.9 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.1541, allocations: 111.9 kB / 450 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1541, allocations: 0 / 450 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.1543, allocations: 55.91 kB / 450 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.1546, allocations: 15.98 kB / 450.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.1551, allocations: 277.5 kB / 450.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.1554, allocations: 0.7046 MB / 451 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.1555, allocations: 23.97 kB / 451.1 MB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.1555, allocations: 11.44 kB / 451.1 MB, free: 4.676 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1555, allocations: 0 / 451.1 MB, free: 4.676 MB / 382.1 MB Notification: Performance of Templates: time 0.004079/0.1596, allocations: 1.187 MB / 452.3 MB, free: 3.488 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches