Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001468/0.001468, allocations: 105.2 kB / 15.99 MB, free: 6.352 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.001244/0.001244, allocations: 193.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 222.8 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3549/0.3549, allocations: 43.49 MB / 313.6 MB, free: 8.242 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 382.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1326, allocations: 57.78 MB / 440.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003167/0.1358, allocations: 1.672 MB / 441.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000648/0.1365, allocations: 343.6 kB / 442.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.1366, allocations: 3.938 kB / 442.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.1368, allocations: 43.88 kB / 442.2 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.137, allocations: 47.83 kB / 442.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.1374, allocations: 143.8 kB / 442.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1376, allocations: 71.77 kB / 442.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1377, allocations: 32.17 kB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.1377, allocations: 31.92 kB / 442.5 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.1378, allocations: 35.84 kB / 442.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1379, allocations: 0 / 442.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.082e-05/0.1379, allocations: 39.91 kB / 442.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.138, allocations: 23.92 kB / 442.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.1381, allocations: 31.75 kB / 442.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1382, allocations: 91.75 kB / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1383, allocations: 0 / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1383, allocations: 0 / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1383, allocations: 0 / 442.7 MB, free: 11.79 MB / 382.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.0005184/0.1388, allocations: 402.5 kB / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1388, allocations: 15.89 kB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.1389, allocations: 34.73 kB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.1389, allocations: 8.844 kB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1391, allocations: 208.6 kB / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1391, allocations: 4.125 kB / 443.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1392, allocations: 4 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1393, allocations: 61.66 kB / 443.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1394, allocations: 0 / 443.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1394, allocations: 0 / 443.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1394, allocations: 0 / 443.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.1395, allocations: 39.97 kB / 443.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.14, allocations: 328.6 kB / 443.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1401, allocations: 38.56 kB / 443.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.1402, allocations: 24.94 kB / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1402, allocations: 8 kB / 443.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1403, allocations: 38.55 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.1403, allocations: 0 / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007586/0.141, allocations: 213.1 kB / 444.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1411, allocations: 67.33 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1413, allocations: 174.3 kB / 444.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1413, allocations: 29.7 kB / 444.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.1413, allocations: 96.12 kB / 444.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.1414, allocations: 23.66 kB / 444.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.1414, allocations: 17.72 kB / 444.5 MB, free: 9.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1416, allocations: 326.8 kB / 444.8 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1417, allocations: 47.97 kB / 444.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.1418, allocations: 43.95 kB / 444.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.142, allocations: 80.8 kB / 445 MB, free: 9.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.142, allocations: 0 / 445 MB, free: 9.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002698/0.1423, allocations: 125.5 kB / 445.1 MB, free: 9.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1423, allocations: 11.92 kB / 445.1 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1423, allocations: 0 / 445.1 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1424, allocations: 0 / 445.1 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1425, allocations: 27.86 kB / 445.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1425, allocations: 0 / 445.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.1426, allocations: 11.98 kB / 445.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1426, allocations: 0 / 445.1 MB, free: 9.102 MB / 382.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 (7): * Single equations (assignments): 7 * 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.382e-05/0.1427, allocations: 125.8 kB / 445.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.1427, allocations: 11.81 kB / 445.3 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.143, allocations: 138.3 kB / 445.4 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1431, allocations: 3.938 kB / 445.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1431, allocations: 288 / 445.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1431, allocations: 3.984 kB / 445.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.1436, allocations: 410.4 kB / 445.8 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1436, allocations: 4 kB / 445.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.1437, allocations: 27.91 kB / 445.9 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1437, allocations: 0 / 445.9 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1437, allocations: 4 kB / 445.9 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1437, allocations: 4 kB / 445.9 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1437, allocations: 480 / 445.9 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.1441, allocations: 227.3 kB / 446.1 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.1441, allocations: 96.94 kB / 446.2 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1441, allocations: 0 / 446.2 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.1442, allocations: 11.98 kB / 446.2 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1443, allocations: 8 kB / 446.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1443, allocations: 4 kB / 446.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1444, allocations: 131.2 kB / 446.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1444, allocations: 0 / 446.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1447, allocations: 20 kB / 446.4 MB, free: 7.793 MB / 382.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 (7): * Single equations (assignments): 7 * 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.001394/0.1461, allocations: 1.067 MB / 447.4 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.1464, allocations: 91.92 kB / 447.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1464, allocations: 0 / 447.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.1465, allocations: 55.89 kB / 447.6 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.1469, allocations: 21.41 kB / 447.6 MB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.1489, allocations: 1.688 MB / 449.3 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.1492, allocations: 0.7041 MB / 450 MB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.307e-05/0.1493, allocations: 24.95 kB / 450 MB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.1494, allocations: 27.42 kB / 450 MB, free: 4.02 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1494, allocations: 0 / 450 MB, free: 4.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.1622, allocations: 2.728 MB / 452.8 MB, free: 1.273 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003095/0.1626, allocations: 245.3 kB / 453 MB, free: 1.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/1.891, allocations: 0 / 453 MB, free: 1.008 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches