Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2399/0.2399, allocations: 46.11 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 76.81 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1336, allocations: 62.46 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003784/0.1374, allocations: 1.591 MB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1385, allocations: 0.5339 MB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.532e-05/0.1386, allocations: 4 kB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.1388, allocations: 23.8 kB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.1393, allocations: 79.62 kB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1397, allocations: 123.3 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1399, allocations: 59.84 kB / 482.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1401, allocations: 23.92 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.1401, allocations: 19.88 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.1402, allocations: 27.84 kB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1402, allocations: 4 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1403, allocations: 31.98 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.1404, allocations: 8 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.1405, allocations: 27.8 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.1406, allocations: 84 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1407, allocations: 0 / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1407, allocations: 0 / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1407, allocations: 4 kB / 482.8 MB, free: 2.504 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.0004794/0.1412, allocations: 387.1 kB / 483.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1412, allocations: 12.03 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.1413, allocations: 30.75 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.1413, allocations: 8.844 kB / 483.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1415, allocations: 190.8 kB / 483.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1415, allocations: 4.375 kB / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1415, allocations: 4.375 kB / 483.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1417, allocations: 57.61 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1417, allocations: 4 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1417, allocations: 0 / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1417, allocations: 0 / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.417e-05/0.1418, allocations: 23.92 kB / 483.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.1422, allocations: 292.8 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1425, allocations: 50.55 kB / 483.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.992e-05/0.1425, allocations: 20.94 kB / 483.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1426, allocations: 7.875 kB / 483.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1426, allocations: 30.56 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1426, allocations: 0 / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006072/0.1432, allocations: 161.2 kB / 484 MB, free: 1.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1433, allocations: 51.41 kB / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1434, allocations: 161.8 kB / 484.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1434, allocations: 25.7 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.1435, allocations: 96.12 kB / 484.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1435, allocations: 19.75 kB / 484.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.1436, allocations: 17.72 kB / 484.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1437, allocations: 322.8 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.1438, allocations: 23.98 kB / 484.7 MB, free: 328 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.29e-05/0.1439, allocations: 19.98 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.144, allocations: 52.81 kB / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.144, allocations: 0 / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001936/0.1442, allocations: 85.52 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1443, allocations: 7.938 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1443, allocations: 4 kB / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1443, allocations: 0 / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.1444, allocations: 15.98 kB / 484.9 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1444, allocations: 3.938 kB / 484.9 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.1444, allocations: 11.98 kB / 484.9 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1444, allocations: 0 / 484.9 MB, free: 116 kB / 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 9.6e-05/0.1445, allocations: 117.8 kB / 485 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.1446, allocations: 8.156 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.1448, allocations: 105.9 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1449, allocations: 4 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1449, allocations: 3.938 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1449, allocations: 0 / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.1453, allocations: 346.6 kB / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1453, allocations: 4 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.1454, allocations: 15.98 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.1454, allocations: 3.938 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1454, allocations: 3.938 kB / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1454, allocations: 0 / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1454, allocations: 7.938 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.1456, allocations: 183.3 kB / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.1457, allocations: 85.11 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1457, allocations: 3.938 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.1458, allocations: 7.984 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.1458, allocations: 0 / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1458, allocations: 8 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.747e-05/0.1459, allocations: 126.6 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1459, allocations: 0 / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1462, allocations: 23.89 kB / 486 MB, free: 14.97 MB / 366.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.001344/0.1475, allocations: 1.008 MB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1477, allocations: 51.97 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1478, allocations: 0 / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.1479, allocations: 31.92 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1482, allocations: 22.27 kB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.1499, allocations: 1.483 MB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1502, allocations: 0.6963 MB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.955e-05/0.1502, allocations: 16.05 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.1503, allocations: 23.44 kB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.246e-06/0.1503, allocations: 0 / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.1702, allocations: 2.543 MB / 491.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.531, allocations: 7.781 kB / 491.8 MB, free: 9.152 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches