Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 102.7 kB / 16.27 MB, free: 5.98 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.001197/0.001197, allocations: 188.5 kB / 17.2 MB, free: 5.613 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.738/1.738, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2254/0.2254, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.00173/0.00173, allocations: 70.61 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1381, allocations: 57.78 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002968/0.1411, allocations: 1.612 MB / 442.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006023/0.1417, allocations: 359.5 kB / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.1418, allocations: 0 / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004622/0.1423, allocations: 447.2 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.1426, allocations: 255.4 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1429, allocations: 159.5 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1431, allocations: 167.7 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1432, allocations: 19.94 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.194e-05/0.1433, allocations: 115.7 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.1435, allocations: 207.6 kB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.1436, allocations: 4 kB / 443.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.408e-05/0.1436, allocations: 31.98 kB / 443.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.729e-05/0.1437, allocations: 79.7 kB / 443.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.1438, allocations: 107 kB / 444 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.144, allocations: 255 kB / 444.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.144, allocations: 0 / 444.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.1441, allocations: 3.938 kB / 444.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1441, allocations: 0 / 444.3 MB, free: 3.117 MB / 318.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.0005915/0.1447, allocations: 0.6297 MB / 444.9 MB, free: 2.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1447, allocations: 15.88 kB / 444.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.1448, allocations: 44.38 kB / 445 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.145, allocations: 296.1 kB / 445.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.145, allocations: 12.31 kB / 445.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.145, allocations: 4.375 kB / 445.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1452, allocations: 57.8 kB / 445.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1452, allocations: 4 kB / 445.3 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1452, allocations: 4 kB / 445.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1452, allocations: 3.938 kB / 445.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.1454, allocations: 35.97 kB / 445.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.1458, allocations: 404.7 kB / 445.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.1459, allocations: 42.56 kB / 445.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.34e-05/0.146, allocations: 28.88 kB / 445.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.146, allocations: 4 kB / 445.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.146, allocations: 38.56 kB / 445.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.146, allocations: 7.922 kB / 445.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007488/0.1468, allocations: 299.8 kB / 446.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.1468, allocations: 59.41 kB / 446.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.1474, allocations: 0.8496 MB / 447.1 MB, free: 112 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1474, allocations: 29.7 kB / 447.1 MB, free: 76 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.1476, allocations: 212 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.1476, allocations: 27.64 kB / 447.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.1476, allocations: 17.72 kB / 447.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1478, allocations: 366.7 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.148, allocations: 43.97 kB / 447.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1481, allocations: 35.97 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.1483, allocations: 92.86 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1483, allocations: 0 / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003017/0.1486, allocations: 161 kB / 448.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1486, allocations: 4 kB / 448.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1486, allocations: 0 / 448.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1487, allocations: 0 / 448.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1488, allocations: 19.98 kB / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1488, allocations: 0 / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.1489, allocations: 15.92 kB / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1489, allocations: 0 / 448.1 MB, free: 15.07 MB / 334.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 0.0001835/0.1491, allocations: 221.7 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.1491, allocations: 39.53 kB / 448.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.1495, allocations: 181.7 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1495, allocations: 7.938 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1495, allocations: 0 / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1495, allocations: 3.938 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.1502, allocations: 0.5062 MB / 449.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1502, allocations: 3.938 kB / 449.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.793e-05/0.1503, allocations: 19.98 kB / 449.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1503, allocations: 3.984 kB / 449.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1503, allocations: 7.938 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1503, allocations: 0 / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1503, allocations: 0 / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.1506, allocations: 255 kB / 449.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.1507, allocations: 108.5 kB / 449.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.1508, allocations: 7.938 kB / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/0.1509, allocations: 7.984 kB / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.1509, allocations: 8 kB / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1509, allocations: 4 kB / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005934/0.1515, allocations: 0.651 MB / 450.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1515, allocations: 0 / 450.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1518, allocations: 31.94 kB / 450.2 MB, free: 12.91 MB / 334.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.0009431/0.1528, allocations: 399.2 kB / 450.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.1531, allocations: 91.94 kB / 450.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1531, allocations: 4 kB / 450.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.1532, allocations: 51.89 kB / 450.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.1536, allocations: 17.97 kB / 450.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1547, allocations: 0.8188 MB / 451.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.1552, allocations: 0.8299 MB / 452.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.158e-05/0.1553, allocations: 20.28 kB / 452.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.1553, allocations: 11.44 kB / 452.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1553, allocations: 3.938 kB / 452.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Templates: time 0.004821/0.1601, allocations: 1.593 MB / 454 MB, free: 9.117 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches