Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 108 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2337/0.2337, allocations: 44.17 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 63.95 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1288, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.005095/0.134, allocations: 1.637 MB / 470.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1352, allocations: 403.3 kB / 470.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.1354, allocations: 0 / 470.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.136, allocations: 99.73 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1363, allocations: 55.88 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.1367, allocations: 79.84 kB / 471.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.1369, allocations: 75.81 kB / 471.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.137, allocations: 20.17 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.758e-05/0.1371, allocations: 35.84 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1372, allocations: 55.88 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.1373, allocations: 4 kB / 471.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1374, allocations: 35.94 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.1375, allocations: 23.91 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.1375, allocations: 35.67 kB / 471.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1378, allocations: 107.9 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1378, allocations: 0 / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1378, allocations: 4 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1378, allocations: 0 / 471.5 MB, free: 11.97 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.0006158/0.1384, allocations: 410.9 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.1385, allocations: 12.03 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.834e-05/0.1386, allocations: 38.75 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.1386, allocations: 8.844 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.139, allocations: 204.7 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.139, allocations: 4.375 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.139, allocations: 4.125 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.1393, allocations: 61.61 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.1393, allocations: 3.984 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.1393, allocations: 4 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1393, allocations: 3.938 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.1395, allocations: 23.98 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.1401, allocations: 288.7 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.1402, allocations: 50.5 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.33e-05/0.1403, allocations: 20.94 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.1404, allocations: 0 / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.1404, allocations: 34.56 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.1404, allocations: 0 / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001201/0.1416, allocations: 221.4 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.1417, allocations: 59.34 kB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.142, allocations: 224 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1421, allocations: 29.7 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.1421, allocations: 104.2 kB / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.1422, allocations: 39.53 kB / 473.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.1423, allocations: 17.72 kB / 473.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1424, allocations: 330.8 kB / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.177e-05/0.1425, allocations: 27.97 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.1426, allocations: 19.98 kB / 473.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1427, allocations: 60.83 kB / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1428, allocations: 4 kB / 473.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002307/0.143, allocations: 101.6 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.143, allocations: 4 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.143, allocations: 0 / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1431, allocations: 0 / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1432, allocations: 19.92 kB / 473.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1432, allocations: 7.938 kB / 473.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.1433, allocations: 3.984 kB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1433, allocations: 8 kB / 473.9 MB, free: 9.324 MB / 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 (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.0001282/0.1434, allocations: 125.8 kB / 474 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.1435, allocations: 11.81 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.1438, allocations: 123 kB / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1438, allocations: 3.938 kB / 474.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.1438, allocations: 3.938 kB / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.1438, allocations: 3.938 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006946/0.1445, allocations: 407.7 kB / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1445, allocations: 3.938 kB / 474.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.1446, allocations: 23.92 kB / 474.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1446, allocations: 0 / 474.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1447, allocations: 4 kB / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1447, allocations: 0 / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1447, allocations: 4.078 kB / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.145, allocations: 212.1 kB / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.145, allocations: 84.95 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1451, allocations: 7.984 kB / 474.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.1451, allocations: 4 kB / 474.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.1452, allocations: 11.98 kB / 474.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1452, allocations: 4 kB / 474.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.1454, allocations: 172.2 kB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1454, allocations: 0 / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1457, allocations: 16 kB / 475.1 MB, free: 8.016 MB / 350.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.001584/0.1473, allocations: 1.085 MB / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.1475, allocations: 71.95 kB / 476.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1475, allocations: 0 / 476.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/0.1476, allocations: 31.92 kB / 476.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.148, allocations: 21.61 kB / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.15, allocations: 1.686 MB / 478 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.1504, allocations: 0.708 MB / 478.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.724e-05/0.1505, allocations: 20.95 kB / 478.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.1505, allocations: 31.42 kB / 478.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1506, allocations: 3.938 kB / 478.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.1642, allocations: 2.916 MB / 481.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.1644, allocations: 236.8 kB / 481.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.029, allocations: 0 / 481.9 MB, free: 1.32 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches