Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",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.001306/0.001306, allocations: 110.6 kB / 17.33 MB, free: 5.984 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.001505/0.001505, allocations: 193.3 kB / 18.25 MB, free: 5.074 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.545/1.545, allocations: 222.9 MB / 241.9 MB, free: 13.72 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.2526/0.2526, allocations: 44.18 MB / 336.3 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.47 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003408/0.1333, allocations: 1.672 MB / 470.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.1342, allocations: 419.1 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.1342, allocations: 4 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.1345, allocations: 83.83 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1348, allocations: 67.84 kB / 471.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1351, allocations: 86.53 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1352, allocations: 91.8 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1354, allocations: 24.28 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.578e-05/0.1354, allocations: 35.89 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1356, allocations: 59.83 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1356, allocations: 7.938 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1357, allocations: 47.97 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.1358, allocations: 31.84 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.1358, allocations: 35.75 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.136, allocations: 111.6 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.136, allocations: 0 / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.136, allocations: 8 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.136, allocations: 0 / 471.6 MB, free: 11.84 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005428/0.1366, allocations: 422.9 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1367, allocations: 19.89 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.1367, allocations: 38.75 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.1368, allocations: 12.75 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.137, allocations: 204.5 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.137, allocations: 4.375 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.137, allocations: 12.36 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1372, allocations: 69.61 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.1373, allocations: 4 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1373, allocations: 0 / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1373, allocations: 7.984 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1374, allocations: 35.97 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.1379, allocations: 332.6 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.138, allocations: 58.56 kB / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.1381, allocations: 21 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.1381, allocations: 11.92 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1382, allocations: 34.56 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1382, allocations: 0 / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001038/0.1392, allocations: 296.9 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1393, allocations: 55.41 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.1395, allocations: 235.4 kB / 473.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1395, allocations: 29.7 kB / 473.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.1396, allocations: 116.1 kB / 473.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.1396, allocations: 39.36 kB / 473.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.1397, allocations: 29.7 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1398, allocations: 326.8 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.272e-05/0.1399, allocations: 35.97 kB / 474 MB, free: 9.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.14, allocations: 39.92 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.1402, allocations: 88.83 kB / 474.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1402, allocations: 0 / 474.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002503/0.1405, allocations: 140.6 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1405, allocations: 4 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1405, allocations: 8 kB / 474.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.1405, allocations: 3.938 kB / 474.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1407, allocations: 27.92 kB / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1407, allocations: 4.688 kB / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.1407, allocations: 8 kB / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1407, allocations: 4 kB / 474.3 MB, free: 8.887 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 (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.0001153/0.1409, allocations: 133.8 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.1409, allocations: 15.81 kB / 474.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.1413, allocations: 175 kB / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1413, allocations: 0 / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1413, allocations: 4 kB / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1413, allocations: 3.938 kB / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.1419, allocations: 471.1 kB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1419, allocations: 0 / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.142, allocations: 27.98 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.142, allocations: 4.031 kB / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.142, allocations: 7.984 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.142, allocations: 0 / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.142, allocations: 3.938 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.1423, allocations: 232.2 kB / 475.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.1424, allocations: 88.92 kB / 475.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1424, allocations: 4 kB / 475.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.1425, allocations: 11.98 kB / 475.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1425, allocations: 7.984 kB / 475.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1426, allocations: 4 kB / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.1427, allocations: 171.2 kB / 475.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1427, allocations: 0 / 475.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.143, allocations: 31.98 kB / 475.7 MB, free: 7.41 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 (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.001452/0.1444, allocations: 1.124 MB / 476.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.1447, allocations: 103.9 kB / 476.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1447, allocations: 0 / 476.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1448, allocations: 55.86 kB / 477 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1452, allocations: 26.38 kB / 477 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1471, allocations: 1.851 MB / 478.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1474, allocations: 0.7158 MB / 479.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.1475, allocations: 16.55 kB / 479.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.1475, allocations: 39.42 kB / 479.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1476, allocations: 4 kB / 479.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.163, allocations: 3.238 MB / 482.8 MB, free: 388 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/0.1633, allocations: 231.8 kB / 483.1 MB, free: 128 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.117, allocations: 3.938 kB / 483.1 MB, free: 124 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches