Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 106.2 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 227.4 MB / 246.4 MB, free: 9.066 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 68.09 kB / 417.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 62.45 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.004143/0.1267, allocations: 1.68 MB / 481.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1278, allocations: 0.5261 MB / 481.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.1279, allocations: 7.938 kB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.1283, allocations: 123.7 kB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.1287, allocations: 111.8 kB / 482 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.1291, allocations: 107.4 kB / 482.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1294, allocations: 99.78 kB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1295, allocations: 12 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.076e-05/0.1296, allocations: 51.81 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.1298, allocations: 87.78 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1298, allocations: 4 kB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1299, allocations: 47.92 kB / 482.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.13, allocations: 35.84 kB / 482.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.1301, allocations: 35.69 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1303, allocations: 115.9 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1303, allocations: 0 / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1303, allocations: 0 / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1304, allocations: 0 / 482.6 MB, free: 2.441 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.0005819/0.1309, allocations: 438.8 kB / 483.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.131, allocations: 12.02 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.131, allocations: 34.75 kB / 483.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.1311, allocations: 16.75 kB / 483.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.1314, allocations: 211.9 kB / 483.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1314, allocations: 4.375 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1315, allocations: 4.375 kB / 483.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1316, allocations: 57.61 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1317, allocations: 0 / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1317, allocations: 3.938 kB / 483.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1317, allocations: 4 kB / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1318, allocations: 27.98 kB / 483.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.1323, allocations: 316.6 kB / 483.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.1324, allocations: 38.56 kB / 483.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.1324, allocations: 24.94 kB / 483.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1325, allocations: 8.062 kB / 483.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1325, allocations: 30.56 kB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1325, allocations: 0 / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009476/0.1335, allocations: 253.2 kB / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.1335, allocations: 55.34 kB / 484.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.1338, allocations: 279.7 kB / 484.4 MB, free: 472 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1338, allocations: 29.7 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.1339, allocations: 116.1 kB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.134, allocations: 27.61 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.134, allocations: 17.72 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1342, allocations: 334.8 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.1343, allocations: 31.92 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.126e-05/0.1344, allocations: 31.97 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1346, allocations: 72.81 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1346, allocations: 0 / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000222/0.1348, allocations: 109.5 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1348, allocations: 15.98 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1349, allocations: 320 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1349, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.135, allocations: 12 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.135, allocations: 11.92 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.1351, allocations: 11.84 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1351, allocations: 7.984 kB / 485.2 MB, free: 15.61 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.000114/0.1352, allocations: 133.8 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.1352, allocations: 15.91 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.1355, allocations: 138.8 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1356, allocations: 0 / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1356, allocations: 3.938 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1356, allocations: 4 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.1361, allocations: 435.3 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1362, allocations: 0 / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.1362, allocations: 23.92 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1362, allocations: 4 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1363, allocations: 0 / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1363, allocations: 0 / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1363, allocations: 4 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1366, allocations: 220.1 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.1366, allocations: 96.84 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.1367, allocations: 0 / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.1367, allocations: 4 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.1368, allocations: 11.98 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.1368, allocations: 4 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.137, allocations: 201.5 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.137, allocations: 8 kB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1373, allocations: 23.98 kB / 486.5 MB, free: 14.2 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.001505/0.1388, allocations: 1.096 MB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.139, allocations: 79.92 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.139, allocations: 3.938 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.842e-05/0.1391, allocations: 39.98 kB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.1395, allocations: 15.98 kB / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.1417, allocations: 1.875 MB / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.142, allocations: 0.7254 MB / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.243e-05/0.1421, allocations: 20.64 kB / 490.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.1422, allocations: 39.42 kB / 490.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1422, allocations: 0 / 490.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1837/0.3259, allocations: 3.249 MB / 493.7 MB, free: 7.164 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003261/0.3263, allocations: 243.1 kB / 493.9 MB, free: 6.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.258, allocations: 3.938 kB / 493.9 MB, free: 6.902 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches