Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 106.9 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.001208/0.001208, 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.529/1.529, allocations: 222.9 MB / 241.9 MB, free: 13.64 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.2427/0.2427, allocations: 44.17 MB / 336.2 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 64.03 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1353, allocations: 60.83 MB / 468.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.004084/0.1394, allocations: 1.672 MB / 470.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.1403, allocations: 423.2 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.1404, allocations: 0 / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1408, allocations: 99.73 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.1411, allocations: 67.8 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.1415, allocations: 98.56 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.1417, allocations: 95.8 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1419, allocations: 32.2 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.142, allocations: 39.84 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.1421, allocations: 67.8 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.1421, allocations: 4 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1423, allocations: 43.98 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.48e-05/0.1423, allocations: 31.84 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.1424, allocations: 35.75 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1427, allocations: 119.6 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.1427, allocations: 8 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.3e-06/0.1427, allocations: 4 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1427, allocations: 0 / 471.6 MB, free: 11.75 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007226/0.1435, allocations: 418.9 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/0.1435, allocations: 8.031 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.59e-05/0.1436, allocations: 42.69 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.1437, allocations: 16.75 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.144, allocations: 204.6 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.144, allocations: 4.375 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.1441, allocations: 8.375 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.1443, allocations: 77.61 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1443, allocations: 0 / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1444, allocations: 4 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1444, allocations: 4 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.1445, allocations: 47.89 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.1451, allocations: 344.5 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.1453, allocations: 70.48 kB / 472.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.1454, allocations: 20.86 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.1454, allocations: 8.125 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.1454, allocations: 30.56 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1455, allocations: 4 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001146/0.1466, allocations: 324.3 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.1467, allocations: 55.39 kB / 473.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.1469, allocations: 231.5 kB / 473.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1469, allocations: 37.58 kB / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.147, allocations: 116 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.1471, allocations: 47.38 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.1471, allocations: 25.7 kB / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1473, allocations: 326.8 kB / 474.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.1474, allocations: 43.97 kB / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.72e-05/0.1475, allocations: 51.91 kB / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.1477, allocations: 108.9 kB / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1477, allocations: 0 / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000272/0.148, allocations: 153.5 kB / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.148, allocations: 4 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.148, allocations: 3.938 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1481, allocations: 3.984 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1482, allocations: 27.92 kB / 474.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1482, allocations: 8 kB / 474.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.1483, allocations: 8 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1483, allocations: 4 kB / 474.5 MB, free: 8.684 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 (13): * Single equations (assignments): 13 * 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.0001209/0.1484, allocations: 133.8 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.1484, allocations: 11.81 kB / 474.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000386/0.1488, allocations: 196.8 kB / 474.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1488, allocations: 4 kB / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1489, allocations: 0 / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1489, allocations: 4 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007285/0.1496, allocations: 495 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1496, allocations: 0 / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.1497, allocations: 35.94 kB / 475.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1497, allocations: 0 / 475.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1498, allocations: 8 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1498, allocations: 0 / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1498, allocations: 0 / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.1501, allocations: 256.2 kB / 475.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.1502, allocations: 89 kB / 475.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1503, allocations: 0 / 475.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.1503, allocations: 7.984 kB / 475.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.1504, allocations: 11.98 kB / 475.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1504, allocations: 4 kB / 475.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.1506, allocations: 175.2 kB / 475.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1506, allocations: 0 / 475.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1509, allocations: 27.98 kB / 475.9 MB, free: 7.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001752/0.1527, allocations: 1.153 MB / 477 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.153, allocations: 115.9 kB / 477.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.153, allocations: 0 / 477.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.1531, allocations: 63.89 kB / 477.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.1535, allocations: 21.78 kB / 477.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.156, allocations: 1.918 MB / 479.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.1564, allocations: 0.7197 MB / 479.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.576e-05/0.1565, allocations: 28.53 kB / 479.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.1566, allocations: 47.42 kB / 480 MB, free: 3.133 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1566, allocations: 0 / 480 MB, free: 3.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05724/0.2138, allocations: 3.326 MB / 483.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003735/0.2143, allocations: 235.5 kB / 483.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.135, allocations: 7.875 kB / 483.5 MB, free: 15.64 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches