Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",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.001452/0.001452, allocations: 105.5 kB / 15.98 MB, free: 6.758 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.001422/0.001422, allocations: 194.7 kB / 16.91 MB, free: 6.535 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.705/1.705, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.2975/0.2975, allocations: 43.5 MB / 313.6 MB, free: 8.527 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.001279/0.001279, allocations: 70.56 kB / 382.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1359, allocations: 57.77 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003488/0.1394, allocations: 1.676 MB / 441.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005919/0.14, allocations: 327.6 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.1401, allocations: 4 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.1406, allocations: 447.2 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.141, allocations: 243.5 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.1414, allocations: 99.88 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.1416, allocations: 167.6 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1418, allocations: 24.38 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1419, allocations: 103.8 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.1422, allocations: 227.5 kB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1422, allocations: 4 kB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.1423, allocations: 32 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1424, allocations: 87.67 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.1425, allocations: 103 kB / 443.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.1428, allocations: 258.9 kB / 443.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1428, allocations: 0 / 443.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1428, allocations: 0 / 443.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1428, allocations: 0 / 443.9 MB, free: 10.84 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.0007879/0.1436, allocations: 0.6453 MB / 444.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1436, allocations: 15.89 kB / 444.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.1437, allocations: 38.75 kB / 444.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.004e-05/0.1438, allocations: 44.38 kB / 444.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.144, allocations: 292.2 kB / 444.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.1441, allocations: 384 / 444.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1441, allocations: 8.125 kB / 444.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1443, allocations: 65.59 kB / 445 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1443, allocations: 4 kB / 445 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1443, allocations: 0 / 445 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1443, allocations: 0 / 445 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.1444, allocations: 35.97 kB / 445 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1449, allocations: 388.7 kB / 445.4 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.145, allocations: 50.5 kB / 445.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.685e-05/0.1451, allocations: 24.94 kB / 445.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1452, allocations: 0 / 445.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1452, allocations: 30.56 kB / 445.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1452, allocations: 0 / 445.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008334/0.146, allocations: 287.8 kB / 445.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.1461, allocations: 55.41 kB / 445.8 MB, free: 8.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008427/0.1469, allocations: 0.8613 MB / 446.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1469, allocations: 25.7 kB / 446.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1471, allocations: 212.1 kB / 446.9 MB, free: 7.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.1472, allocations: 27.7 kB / 446.9 MB, free: 7.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.1472, allocations: 21.72 kB / 447 MB, free: 7.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1474, allocations: 362.8 kB / 447.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1475, allocations: 31.97 kB / 447.3 MB, free: 7.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.434e-05/0.1476, allocations: 27.98 kB / 447.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.1478, allocations: 80.73 kB / 447.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1478, allocations: 0 / 447.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002858/0.1481, allocations: 145.1 kB / 447.6 MB, free: 6.867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1482, allocations: 7.938 kB / 447.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1482, allocations: 320 / 447.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1482, allocations: 7.938 kB / 447.6 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1483, allocations: 19.98 kB / 447.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1483, allocations: 3.938 kB / 447.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.1484, allocations: 11.98 kB / 447.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1484, allocations: 3.984 kB / 447.6 MB, free: 6.812 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 0.0001798/0.1486, allocations: 213.7 kB / 447.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.1487, allocations: 43.44 kB / 447.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.149, allocations: 173.4 kB / 448.1 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.149, allocations: 0 / 448.1 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1491, allocations: 3.938 kB / 448.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1491, allocations: 0 / 448.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.1496, allocations: 494.4 kB / 448.5 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1496, allocations: 0 / 448.5 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.994e-05/0.1497, allocations: 23.98 kB / 448.6 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1497, allocations: 4.219 kB / 448.6 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1498, allocations: 4 kB / 448.6 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1498, allocations: 0 / 448.6 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1498, allocations: 0 / 448.6 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.1501, allocations: 254.9 kB / 448.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.1502, allocations: 116.5 kB / 448.9 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.1502, allocations: 3.938 kB / 448.9 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.1503, allocations: 11.98 kB / 449 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.1503, allocations: 8 kB / 449 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1504, allocations: 0 / 449 MB, free: 5.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000556/0.1509, allocations: 0.6511 MB / 449.6 MB, free: 4.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1509, allocations: 0 / 449.6 MB, free: 4.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1512, allocations: 24 kB / 449.6 MB, free: 4.703 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.00152/0.1527, allocations: 1.082 MB / 450.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.153, allocations: 83.88 kB / 450.8 MB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.153, allocations: 0 / 450.8 MB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1531, allocations: 43.91 kB / 450.8 MB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.1536, allocations: 33.75 kB / 450.9 MB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.1571, allocations: 3.37 MB / 454.3 MB, free: 8 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1754/0.3325, allocations: 0.8189 MB / 455.1 MB, free: 48.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.191e-05/0.3326, allocations: 14.39 kB / 455.1 MB, free: 48.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.3327, allocations: 102.5 kB / 455.2 MB, free: 48.62 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3327, allocations: 2.625 kB / 455.2 MB, free: 48.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/1.34, allocations: 5.815 MB / 461 MB, free: 48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/1.34, allocations: 236 kB / 461.2 MB, free: 47.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/3.223, allocations: 2.781 kB / 461.2 MB, free: 47.73 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches