Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001214/0.001214, 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.001412/0.001412, 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.406/1.406, 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.2566/0.2566, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 78.62 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1321, allocations: 62.45 MB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.004184/0.1363, allocations: 1.604 MB / 481.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1374, allocations: 0.5338 MB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.1375, allocations: 4 kB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.1378, allocations: 79.69 kB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.1382, allocations: 103.6 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.1385, allocations: 95.2 kB / 482.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1387, allocations: 83.8 kB / 482.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.1388, allocations: 16 kB / 482.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/0.1389, allocations: 35.84 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.139, allocations: 55.81 kB / 482.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.139, allocations: 4 kB / 482.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1391, allocations: 47.97 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.1392, allocations: 19.92 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.1393, allocations: 35.69 kB / 482.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1395, allocations: 99.98 kB / 482.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1395, allocations: 0 / 482.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1395, allocations: 0 / 482.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1395, allocations: 7.938 kB / 482.9 MB, free: 2.328 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005022/0.14, allocations: 414.9 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1401, allocations: 12.03 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.1401, allocations: 34.75 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.1402, allocations: 8.844 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1404, allocations: 200.8 kB / 483.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.1404, allocations: 8.359 kB / 483.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.1404, allocations: 384 / 483.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1406, allocations: 65.55 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1406, allocations: 3.906 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1406, allocations: 4 kB / 483.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1406, allocations: 0 / 483.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.1407, allocations: 27.97 kB / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.1411, allocations: 292.8 kB / 484 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.1412, allocations: 46.5 kB / 484 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.1413, allocations: 20.94 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1413, allocations: 0 / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1414, allocations: 38.5 kB / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1414, allocations: 0 / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009699/0.1423, allocations: 229.1 kB / 484.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1424, allocations: 51.41 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.1426, allocations: 218.2 kB / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1426, allocations: 29.7 kB / 484.6 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.1427, allocations: 108.1 kB / 484.7 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.1428, allocations: 31.61 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.1428, allocations: 25.66 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.143, allocations: 322.8 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.143, allocations: 23.98 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.279e-05/0.1431, allocations: 27.97 kB / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.1433, allocations: 60.83 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1433, allocations: 0 / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002458/0.1436, allocations: 109.8 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1436, allocations: 4 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1436, allocations: 0 / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.1436, allocations: 0 / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1438, allocations: 23.92 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1438, allocations: 3.938 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.1438, allocations: 7.984 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1438, allocations: 0 / 485.3 MB, free: 15.69 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 (8): * Single equations (assignments): 8 * 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.0001154/0.144, allocations: 129.8 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.144, allocations: 11.81 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.1443, allocations: 119 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1443, allocations: 4 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1443, allocations: 7.875 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1443, allocations: 4.406 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/0.1449, allocations: 403.3 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1449, allocations: 0 / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.145, allocations: 19.92 kB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.145, allocations: 4 kB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.145, allocations: 0 / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.145, allocations: 0 / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.145, allocations: 0 / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.1453, allocations: 216.1 kB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.1454, allocations: 88.95 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1454, allocations: 4 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.1455, allocations: 7.984 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.1455, allocations: 7.938 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.1455, allocations: 12 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.1457, allocations: 160.2 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1457, allocations: 3.938 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.146, allocations: 19.98 kB / 486.5 MB, free: 14.38 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 (8): * Single equations (assignments): 8 * 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.0016/0.1476, allocations: 1.086 MB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.1478, allocations: 67.95 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1478, allocations: 0 / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.1479, allocations: 43.84 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1483, allocations: 19.36 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1503, allocations: 1.65 MB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1506, allocations: 0.708 MB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.442e-05/0.1506, allocations: 16.97 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.1507, allocations: 35.36 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1507, allocations: 0 / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.1767, allocations: 3.03 MB / 493.2 MB, free: 7.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.619, allocations: 1.078 kB / 493.2 MB, free: 7.812 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches