Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001264/0.001264, allocations: 188.1 kB / 17.2 MB, free: 5.574 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.649/1.649, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2295/0.2295, allocations: 43.51 MB / 313.9 MB, free: 0.5195 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.001822/0.001823, allocations: 74.39 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1312, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.00432/0.1356, allocations: 1.605 MB / 442.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1372, allocations: 0.9573 MB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.1373, allocations: 0 / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.1376, allocations: 27.86 kB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.1378, allocations: 43.77 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.1382, allocations: 155 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1384, allocations: 67.77 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1385, allocations: 27.92 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.1386, allocations: 19.92 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1387, allocations: 39.34 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1388, allocations: 4 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.1389, allocations: 51.98 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.139, allocations: 15.92 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.139, allocations: 23.86 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1393, allocations: 103.7 kB / 443.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1393, allocations: 0 / 443.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1393, allocations: 3.938 kB / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1393, allocations: 0 / 443.7 MB, free: 3.746 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.0004772/0.1398, allocations: 387.2 kB / 444 MB, free: 3.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1398, allocations: 11.89 kB / 444 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.1399, allocations: 8.844 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.1401, allocations: 188.2 kB / 444.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1401, allocations: 4.375 kB / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.1401, allocations: 4.375 kB / 444.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.1403, allocations: 87.44 kB / 444.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1404, allocations: 0 / 444.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1404, allocations: 0 / 444.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1404, allocations: 4 kB / 444.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.1405, allocations: 35.97 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.141, allocations: 308.7 kB / 444.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1411, allocations: 46.5 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.048e-05/0.1412, allocations: 32.88 kB / 444.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1412, allocations: 3.984 kB / 444.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1412, allocations: 34.56 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1413, allocations: 0 / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008037/0.1421, allocations: 221.4 kB / 445 MB, free: 2.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.1421, allocations: 85.05 kB / 445.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1422, allocations: 133.7 kB / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1423, allocations: 29.7 kB / 445.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.1423, allocations: 92.08 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.1423, allocations: 23.7 kB / 445.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.1424, allocations: 21.72 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.1424, allocations: 322.8 kB / 445.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.1425, allocations: 35.97 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1427, allocations: 53.69 kB / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.1429, allocations: 92.73 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1429, allocations: 0 / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002529/0.1431, allocations: 121.5 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1432, allocations: 12.03 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1432, allocations: 0 / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1432, allocations: 0 / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1433, allocations: 19.98 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1433, allocations: 0 / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.1434, allocations: 11.92 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1434, allocations: 4 kB / 446 MB, free: 1.117 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 (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 7.833e-05/0.1435, allocations: 125.8 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.1435, allocations: 15.84 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.1439, allocations: 138.3 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1439, allocations: 0 / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1439, allocations: 0 / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1439, allocations: 4.219 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.1443, allocations: 410.4 kB / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1444, allocations: 0 / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.44e-05/0.1444, allocations: 19.98 kB / 446.7 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1444, allocations: 3.984 kB / 446.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1445, allocations: 3.938 kB / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1445, allocations: 0 / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1445, allocations: 0 / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.1447, allocations: 219.4 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.1448, allocations: 85.02 kB / 447 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.1448, allocations: 4.141 kB / 447 MB, free: 16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.1449, allocations: 15.86 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.145, allocations: 11.98 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.145, allocations: 11.94 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.442e-05/0.1451, allocations: 107.2 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1451, allocations: 4 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1454, allocations: 27.98 kB / 447.2 MB, free: 15.82 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.001056/0.1465, allocations: 432.4 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003163/0.1468, allocations: 95.88 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1468, allocations: 0 / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1469, allocations: 47.95 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.1473, allocations: 19.98 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.1478, allocations: 194.5 kB / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1481, allocations: 0.7054 MB / 448.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.383e-05/0.1483, allocations: 32.22 kB / 448.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.1483, allocations: 19.36 kB / 448.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1483, allocations: 0 / 448.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of Templates: time 0.004582/0.1529, allocations: 1.536 MB / 450.3 MB, free: 12.8 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches