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.001029/0.001029, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2408/0.2408, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 75.84 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1387, allocations: 62.45 MB / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003339/0.1421, allocations: 1.651 MB / 481.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009417/0.1431, allocations: 0.5572 MB / 482.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.1432, allocations: 0 / 482.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.1435, allocations: 95.67 kB / 482.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.1438, allocations: 111.6 kB / 482.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1441, allocations: 123.6 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1442, allocations: 95.81 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1444, allocations: 24.27 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.1444, allocations: 43.83 kB / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1445, allocations: 67.81 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1446, allocations: 4 kB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.581e-05/0.1447, allocations: 51.92 kB / 482.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.1447, allocations: 27.91 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.1448, allocations: 39.69 kB / 483 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.145, allocations: 131.5 kB / 483.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.145, allocations: 3.984 kB / 483.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.145, allocations: 0 / 483.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.1451, allocations: 4 kB / 483.1 MB, free: 2.113 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.0005713/0.1456, allocations: 426.8 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1457, allocations: 12.03 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.1457, allocations: 34.75 kB / 483.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.1458, allocations: 12.84 kB / 483.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.146, allocations: 215.9 kB / 483.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.146, allocations: 4.359 kB / 483.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.1461, allocations: 8.375 kB / 483.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1463, allocations: 81.36 kB / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1463, allocations: 0 / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1463, allocations: 0 / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1463, allocations: 4 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1464, allocations: 47.95 kB / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.1469, allocations: 344.6 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1471, allocations: 70.48 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.019e-05/0.1471, allocations: 32.78 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1472, allocations: 4.141 kB / 484.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1472, allocations: 30.56 kB / 484.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1472, allocations: 0 / 484.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00104/0.1482, allocations: 344.7 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.1483, allocations: 51.41 kB / 484.8 MB, free: 244 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1485, allocations: 244.3 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1485, allocations: 29.7 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.1486, allocations: 112 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.1486, allocations: 47.28 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.1487, allocations: 29.72 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1488, allocations: 326.8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.1489, allocations: 43.97 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.149, allocations: 56.03 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.1492, allocations: 104.8 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1492, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002689/0.1495, allocations: 160.5 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1495, allocations: 6.5 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1495, allocations: 3.938 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1496, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1497, allocations: 31.92 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1497, allocations: 0.7031 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.1498, allocations: 7.984 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1498, allocations: 8 kB / 486 MB, free: 15.01 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.0001041/0.1499, allocations: 133.8 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.1499, allocations: 15.81 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.1503, allocations: 187 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1503, allocations: 4 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1503, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1503, allocations: 7.969 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.151, allocations: 0.5029 MB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.151, allocations: 0 / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.854e-05/0.1511, allocations: 23.98 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1511, allocations: 0 / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1511, allocations: 8 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1511, allocations: 7.938 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1511, allocations: 4.031 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.1514, allocations: 252.2 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.1515, allocations: 92.91 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.1515, allocations: 0 / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.1516, allocations: 8 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1516, allocations: 15.92 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1517, allocations: 4 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.1518, allocations: 185.2 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.1518, allocations: 0 / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1521, allocations: 27.94 kB / 487.5 MB, free: 13.44 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.001474/0.1536, allocations: 1.129 MB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.1539, allocations: 119.9 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1539, allocations: 0 / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.154, allocations: 67.84 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1544, allocations: 15.98 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1565, allocations: 1.905 MB / 490.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1568, allocations: 0.7275 MB / 491.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.266e-05/0.1569, allocations: 28.52 kB / 491.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.157, allocations: 43.42 kB / 491.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.157, allocations: 0 / 491.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.1768, allocations: 3.515 MB / 495 MB, free: 5.977 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.636, allocations: 19.36 kB / 495 MB, free: 5.965 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