Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 101.8 kB / 16.26 MB, free: 6.34 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.001523/0.001524, allocations: 186.1 kB / 17.19 MB, free: 5.957 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.816/1.816, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2406/0.2406, allocations: 43.51 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.001488/0.001488, allocations: 76.45 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1312, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003488/0.1347, allocations: 1.543 MB / 442.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006907/0.1355, allocations: 311.5 kB / 442.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.1355, allocations: 0 / 442.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.1358, allocations: 31.8 kB / 442.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.136, allocations: 39.78 kB / 442.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.1363, allocations: 71.09 kB / 442.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1364, allocations: 55.84 kB / 442.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1366, allocations: 11.94 kB / 442.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.1366, allocations: 23.91 kB / 442.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.1367, allocations: 23.86 kB / 442.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1367, allocations: 0 / 442.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.173e-05/0.1368, allocations: 24 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.1369, allocations: 15.92 kB / 442.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.1369, allocations: 19.86 kB / 442.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1371, allocations: 79.73 kB / 442.8 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.1371, allocations: 4 kB / 442.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.1371, allocations: 3.938 kB / 442.8 MB, free: 4.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1371, allocations: 0 / 442.8 MB, free: 4.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005073/0.1376, allocations: 375.2 kB / 443.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1377, allocations: 11.89 kB / 443.1 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.1377, allocations: 8.844 kB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1379, allocations: 188.2 kB / 443.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.138, allocations: 4.375 kB / 443.3 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.138, allocations: 12.38 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1382, allocations: 45.81 kB / 443.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1382, allocations: 0 / 443.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1382, allocations: 4 kB / 443.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1382, allocations: 0 / 443.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1383, allocations: 23.92 kB / 443.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.1386, allocations: 280.8 kB / 443.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.1389, allocations: 42.56 kB / 443.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.1389, allocations: 20.92 kB / 443.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.139, allocations: 7.938 kB / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.139, allocations: 30.56 kB / 443.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.139, allocations: 3.938 kB / 443.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006125/0.1397, allocations: 137.3 kB / 443.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.1397, allocations: 55.41 kB / 444 MB, free: 3.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1398, allocations: 157.6 kB / 444.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.986e-06/0.1399, allocations: 25.7 kB / 444.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.1399, allocations: 96.08 kB / 444.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.1399, allocations: 23.64 kB / 444.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.14, allocations: 21.72 kB / 444.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.14, allocations: 322.8 kB / 444.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.1401, allocations: 19.98 kB / 444.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.391e-05/0.1402, allocations: 15.98 kB / 444.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1403, allocations: 40.84 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1404, allocations: 0 / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002019/0.1406, allocations: 93.5 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1406, allocations: 4 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1406, allocations: 0 / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1406, allocations: 0 / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.1407, allocations: 15.98 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1407, allocations: 0 / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.1408, allocations: 4 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.1408, allocations: 4.188 kB / 444.8 MB, free: 2.387 MB / 318.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 (5): * Single equations (assignments): 5 * 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 6.249e-05/0.1409, allocations: 121.8 kB / 444.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.1409, allocations: 11.89 kB / 444.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.1412, allocations: 101.9 kB / 445 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1412, allocations: 0 / 445 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1412, allocations: 0 / 445 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1412, allocations: 0 / 445 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.1416, allocations: 342.5 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1416, allocations: 0 / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.1417, allocations: 15.98 kB / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1417, allocations: 0 / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1417, allocations: 3.938 kB / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1417, allocations: 3.938 kB / 445.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1417, allocations: 0 / 445.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.1419, allocations: 175.4 kB / 445.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.1419, allocations: 89 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.142, allocations: 4 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.1421, allocations: 7.938 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.1421, allocations: 0 / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1421, allocations: 7.984 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.131e-05/0.1422, allocations: 119.2 kB / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1422, allocations: 0 / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.1426, allocations: 23.92 kB / 445.8 MB, free: 1.277 MB / 318.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 (5): * Single equations (assignments): 5 * 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.001065/0.1437, allocations: 387.5 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1439, allocations: 59.89 kB / 446.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1439, allocations: 0 / 446.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.144, allocations: 23.98 kB / 446.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.1444, allocations: 15.59 kB / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.1448, allocations: 181.5 kB / 446.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.1451, allocations: 0.6924 MB / 447.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.559e-05/0.1451, allocations: 12.23 kB / 447.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.1452, allocations: 11.44 kB / 447.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1452, allocations: 3.938 kB / 447.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Templates: time 0.005044/0.1502, allocations: 1.094 MB / 448.3 MB, free: 14.84 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches