Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 106.8 kB / 17.33 MB, free: 5.996 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.001062/0.001062, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2143/0.2143, allocations: 44.17 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.28 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.135, allocations: 60.82 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003623/0.1386, allocations: 1.614 MB / 470.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008784/0.1396, allocations: 403.3 kB / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.357e-05/0.1397, allocations: 0 / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.14, allocations: 19.92 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.1403, allocations: 39.91 kB / 470.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1407, allocations: 75.61 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.1409, allocations: 67.7 kB / 470.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1411, allocations: 15.98 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.1411, allocations: 11.94 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.1412, allocations: 19.86 kB / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1412, allocations: 4 kB / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1413, allocations: 39.91 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.1414, allocations: 19.92 kB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.1415, allocations: 19.81 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.1417, allocations: 71.8 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1417, allocations: 4 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1417, allocations: 0 / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.1418, allocations: 0 / 471.1 MB, free: 12.33 MB / 350.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.0005787/0.1423, allocations: 383.4 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1424, allocations: 8.031 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.1425, allocations: 12.84 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1427, allocations: 192.2 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.1427, allocations: 4.312 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.1427, allocations: 4.375 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1429, allocations: 49.81 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1429, allocations: 3.984 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1429, allocations: 0 / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.143, allocations: 0 / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.892e-05/0.1431, allocations: 23.92 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.1435, allocations: 280.8 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.1438, allocations: 42.5 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.1439, allocations: 20.94 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1439, allocations: 0 / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1439, allocations: 38.56 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1439, allocations: 0 / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005889/0.1445, allocations: 137.3 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1446, allocations: 51.41 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1448, allocations: 172.4 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1448, allocations: 25.7 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.1449, allocations: 100.1 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1449, allocations: 19.66 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.1449, allocations: 17.7 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1451, allocations: 322.8 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1452, allocations: 15.98 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.1453, allocations: 19.98 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1454, allocations: 52.77 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1454, allocations: 0 / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001792/0.1456, allocations: 81.58 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1456, allocations: 7.938 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1456, allocations: 0 / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1457, allocations: 0 / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.1457, allocations: 15.98 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.1458, allocations: 0 / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.1458, allocations: 11.98 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1458, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.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 0.0001054/0.1459, allocations: 126.2 kB / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.146, allocations: 3.906 kB / 473.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.1462, allocations: 89.97 kB / 473.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1462, allocations: 4 kB / 473.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1462, allocations: 0 / 473.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1462, allocations: 3.984 kB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.1467, allocations: 354.8 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.1467, allocations: 4.062 kB / 473.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.1468, allocations: 11.94 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.1468, allocations: 7.984 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1468, allocations: 0 / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1468, allocations: 3.938 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1468, allocations: 0 / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.147, allocations: 175.4 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.1471, allocations: 88.95 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1471, allocations: 0 / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.1472, allocations: 11.92 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.1473, allocations: 4 kB / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1473, allocations: 0 / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.656e-05/0.1474, allocations: 131.2 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1474, allocations: 0 / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1476, allocations: 19.98 kB / 474.2 MB, free: 8.91 MB / 350.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.001008/0.1487, allocations: 407.8 kB / 474.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1489, allocations: 43.97 kB / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1489, allocations: 0 / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.033e-05/0.149, allocations: 31.92 kB / 474.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1493, allocations: 15.92 kB / 474.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.1498, allocations: 202.1 kB / 474.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1502, allocations: 0.6963 MB / 475.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.1502, allocations: 11.98 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.1503, allocations: 15.44 kB / 475.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1503, allocations: 0 / 475.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of Templates: time 0.003995/0.1543, allocations: 1.063 MB / 476.7 MB, free: 6.539 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches