Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001496, allocations: 77.03 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1358, allocations: 62.46 MB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003515/0.1394, allocations: 1.695 MB / 481.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1406, allocations: 0.5573 MB / 481.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1407, allocations: 8 kB / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.1411, allocations: 87.8 kB / 481.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1414, allocations: 99.7 kB / 481.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1418, allocations: 99.31 kB / 481.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.142, allocations: 99.8 kB / 482 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1421, allocations: 32.2 kB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.1422, allocations: 35.84 kB / 482.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.1423, allocations: 63.81 kB / 482.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1423, allocations: 4 kB / 482.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1425, allocations: 47.97 kB / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.1425, allocations: 23.92 kB / 482.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.1426, allocations: 47.61 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1428, allocations: 127.5 kB / 482.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1428, allocations: 3.938 kB / 482.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1428, allocations: 0 / 482.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1428, allocations: 0 / 482.4 MB, free: 2.59 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.0005436/0.1434, allocations: 434.9 kB / 482.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1434, allocations: 12.88 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.1435, allocations: 38.75 kB / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.1435, allocations: 12.78 kB / 482.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.1438, allocations: 208.5 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1438, allocations: 12.38 kB / 483.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1438, allocations: 4.375 kB / 483.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.144, allocations: 77.53 kB / 483.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.144, allocations: 0 / 483.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.144, allocations: 8 kB / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.144, allocations: 0 / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.1442, allocations: 43.97 kB / 483.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.1447, allocations: 352.5 kB / 483.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1448, allocations: 66.55 kB / 483.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.1449, allocations: 28.84 kB / 483.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.145, allocations: 4 kB / 483.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.145, allocations: 34.56 kB / 483.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.056e-06/0.145, allocations: 0 / 483.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001181/0.1462, allocations: 345.2 kB / 484.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.1462, allocations: 55.39 kB / 484.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.1465, allocations: 239.5 kB / 484.3 MB, free: 464 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1465, allocations: 25.7 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.1466, allocations: 116 kB / 484.5 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.1467, allocations: 43.3 kB / 484.5 MB, free: 268 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.1467, allocations: 29.72 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1469, allocations: 330.8 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.147, allocations: 43.97 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.914e-05/0.1471, allocations: 47.59 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.1473, allocations: 108.8 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1473, allocations: 0 / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000293/0.1476, allocations: 157.5 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1476, allocations: 8 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1477, allocations: 3.938 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1477, allocations: 0 / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.1478, allocations: 27.98 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1478, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.1479, allocations: 7.984 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1479, allocations: 4 kB / 485.3 MB, free: 15.49 MB / 366.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.0001116/0.148, allocations: 149.8 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.1481, allocations: 11.81 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.1485, allocations: 187.1 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1485, allocations: 0 / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1485, allocations: 3.984 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1485, allocations: 4 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007076/0.1492, allocations: 0.5029 MB / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1493, allocations: 3.938 kB / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.624e-05/0.1494, allocations: 23.98 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1494, allocations: 4 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1494, allocations: 0 / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.1494, allocations: 4 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1494, allocations: 0 / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.1498, allocations: 256.2 kB / 486.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.1498, allocations: 88.92 kB / 486.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.1499, allocations: 8 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.15, allocations: 4 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.15, allocations: 11.98 kB / 486.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.15, allocations: 8 kB / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.1502, allocations: 177.2 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1502, allocations: 3.938 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.1505, allocations: 32 kB / 486.7 MB, free: 13.91 MB / 366.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.001635/0.1521, allocations: 1.129 MB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002998/0.1525, allocations: 119.9 kB / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1525, allocations: 0 / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.1526, allocations: 67.83 kB / 488.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.153, allocations: 16 kB / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.1556, allocations: 1.953 MB / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.1559, allocations: 0.7274 MB / 490.8 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.1561, allocations: 32.52 kB / 490.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.07e-05/0.1561, allocations: 43.42 kB / 490.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of SimCode: time 5.1e-07/0.1562, allocations: 0 / 490.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.172, allocations: 3.34 MB / 494.2 MB, free: 6.594 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.1722, allocations: 234.5 kB / 494.4 MB, free: 6.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/2.27, allocations: 3.875 kB / 494.4 MB, free: 6.336 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches