Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",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.0007067/0.0007069, allocations: 103.3 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008556/0.000856, allocations: 185.5 kB / 16.92 MB, free: 6.914 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.467/1.467, allocations: 205.4 MB / 223.1 MB, free: 5.746 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.4099/0.4099, allocations: 43.57 MB / 315 MB, free: 8.695 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.000491/0.0004911, allocations: 15.98 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1344, allocations: 58.86 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002272/0.1367, allocations: 1.282 MB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006945/0.1374, allocations: 331.6 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.1375, allocations: 8 kB / 445.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.138, allocations: 447.2 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.1383, allocations: 247.5 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.1386, allocations: 135.8 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.1388, allocations: 159.6 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.139, allocations: 11.98 kB / 446.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1391, allocations: 99.78 kB / 446.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1393, allocations: 207.6 kB / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1393, allocations: 0 / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.989e-05/0.1394, allocations: 19.98 kB / 446.5 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/0.1395, allocations: 79.69 kB / 446.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.681e-05/0.1396, allocations: 120.7 kB / 446.7 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1398, allocations: 243.2 kB / 446.9 MB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1398, allocations: 0 / 446.9 MB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1398, allocations: 0 / 446.9 MB, free: 9.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1398, allocations: 4 kB / 446.9 MB, free: 9.207 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006181/0.1405, allocations: 0.5872 MB / 447.5 MB, free: 8.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1405, allocations: 8.031 kB / 447.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.1406, allocations: 34.73 kB / 447.5 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.1406, allocations: 40.47 kB / 447.6 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1409, allocations: 292.2 kB / 447.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1409, allocations: 8.375 kB / 447.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.1409, allocations: 384 / 447.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.141, allocations: 57.56 kB / 447.9 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1411, allocations: 0 / 447.9 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1411, allocations: 4 kB / 447.9 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1411, allocations: 0 / 447.9 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.525e-05/0.1412, allocations: 31.97 kB / 447.9 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.1417, allocations: 396.7 kB / 448.3 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.897e-05/0.1418, allocations: 34.5 kB / 448.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.1418, allocations: 20.86 kB / 448.4 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1419, allocations: 0 / 448.4 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.1419, allocations: 38.55 kB / 448.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.1419, allocations: 0 / 448.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002717/0.1422, allocations: 109.1 kB / 448.5 MB, free: 7.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.1422, allocations: 59.34 kB / 448.6 MB, free: 7.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007972/0.143, allocations: 0.8653 MB / 449.5 MB, free: 6.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1431, allocations: 25.7 kB / 449.5 MB, free: 6.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.1432, allocations: 220.2 kB / 449.7 MB, free: 6.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.1432, allocations: 7.844 kB / 449.7 MB, free: 6.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.1433, allocations: 17.72 kB / 449.7 MB, free: 6.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1434, allocations: 362.7 kB / 450.1 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.1435, allocations: 12 kB / 450.1 MB, free: 5.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.1435, allocations: 11.98 kB / 450.1 MB, free: 5.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.063e-05/0.1436, allocations: 32.91 kB / 450.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1436, allocations: 0 / 450.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001438/0.1437, allocations: 89.22 kB / 450.2 MB, free: 5.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1438, allocations: 8 kB / 450.2 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1438, allocations: 3.938 kB / 450.2 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1438, allocations: 7.922 kB / 450.2 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.1439, allocations: 8.031 kB / 450.2 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.1439, allocations: 0 / 450.2 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.1439, allocations: 4 kB / 450.2 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.144, allocations: 0 / 450.2 MB, free: 5.613 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 (2): * Single equations (assignments): 2 * 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.0001867/0.1442, allocations: 217.7 kB / 450.5 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.1442, allocations: 43.44 kB / 450.5 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.1444, allocations: 112.7 kB / 450.6 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1445, allocations: 0 / 450.6 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1445, allocations: 0 / 450.6 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1445, allocations: 3.984 kB / 450.6 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.1448, allocations: 289.5 kB / 450.9 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1448, allocations: 0 / 450.9 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.1448, allocations: 7.938 kB / 450.9 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1448, allocations: 0 / 450.9 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.1449, allocations: 4 kB / 450.9 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1449, allocations: 0 / 450.9 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1449, allocations: 4.031 kB / 450.9 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.1451, allocations: 194.9 kB / 451.1 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.1452, allocations: 112.6 kB / 451.2 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1452, allocations: 0 / 451.2 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.1453, allocations: 11.98 kB / 451.2 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.1454, allocations: 4.031 kB / 451.2 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1454, allocations: 3.938 kB / 451.2 MB, free: 4.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006055/0.146, allocations: 0.655 MB / 451.9 MB, free: 3.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.146, allocations: 0 / 451.9 MB, free: 3.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1462, allocations: 19.94 kB / 451.9 MB, free: 3.852 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 (2): * Single equations (assignments): 2 * 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.00128/0.1475, allocations: 0.981 MB / 452.9 MB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.1477, allocations: 27.98 kB / 452.9 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1477, allocations: 0 / 452.9 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.298e-05/0.1478, allocations: 19.98 kB / 452.9 MB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1482, allocations: 30.23 kB / 453 MB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2188/0.367, allocations: 3.228 MB / 456.2 MB, free: 45.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.3673, allocations: 0.8201 MB / 457 MB, free: 44.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.76e-05/0.3674, allocations: 9.156 kB / 457 MB, free: 44.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.3676, allocations: 112.5 kB / 457.1 MB, free: 44.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.093e-06/0.3676, allocations: 2.516 kB / 457.1 MB, free: 44.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.3836, allocations: 5.189 MB / 462.3 MB, free: 44.31 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.3839, allocations: 239.1 kB / 462.6 MB, free: 44.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.231, allocations: 2.875 kB / 462.6 MB, free: 44.05 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches