Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_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.001348/0.001348, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001509/0.001509, allocations: 194 kB / 18.12 MB, free: 5.363 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.458/1.458, allocations: 222.9 MB / 241.8 MB, free: 13.87 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.2519/0.2519, allocations: 44.16 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 60.62 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.137, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003506/0.1406, allocations: 1.695 MB / 470.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008582/0.1415, allocations: 451.1 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.1415, allocations: 0 / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1418, allocations: 39.89 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.142, allocations: 47.83 kB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.1423, allocations: 161.5 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1425, allocations: 79.75 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1426, allocations: 27.97 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.1427, allocations: 27.86 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.309e-05/0.1428, allocations: 43.83 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1428, allocations: 4 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.1429, allocations: 43.98 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.143, allocations: 19.92 kB / 471.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.143, allocations: 35.78 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.1432, allocations: 103.9 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1432, allocations: 4 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1432, allocations: 4 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1432, allocations: 0 / 471.4 MB, free: 11.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004842/0.1437, allocations: 407.1 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1438, allocations: 12.03 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.1438, allocations: 30.75 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.1438, allocations: 8.844 kB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.144, allocations: 204.7 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.144, allocations: 8.125 kB / 472 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1441, allocations: 7.938 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1443, allocations: 73.59 kB / 472.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1443, allocations: 0 / 472.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1443, allocations: 0 / 472.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1443, allocations: 4 kB / 472.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.1445, allocations: 39.97 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.1449, allocations: 328.6 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.1452, allocations: 54.55 kB / 472.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.1453, allocations: 32.95 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1453, allocations: 4 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1453, allocations: 38.59 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1453, allocations: 0 / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001449/0.1468, allocations: 421.2 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.1468, allocations: 51.41 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.147, allocations: 183.9 kB / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.147, allocations: 25.7 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.1471, allocations: 108 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1471, allocations: 31.55 kB / 473.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.1472, allocations: 25.72 kB / 473.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1473, allocations: 326.8 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1475, allocations: 51.95 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1476, allocations: 59.95 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.1479, allocations: 124.7 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1479, allocations: 0 / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000315/0.1482, allocations: 161.4 kB / 474.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1482, allocations: 15.94 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1483, allocations: 0 / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1483, allocations: 0 / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1484, allocations: 27.97 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1484, allocations: 0 / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.1485, allocations: 12 kB / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1485, allocations: 0 / 474.2 MB, free: 8.902 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 (11): * Single equations (assignments): 11 * 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.673e-05/0.1486, allocations: 133.8 kB / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.1486, allocations: 15.84 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.149, allocations: 190.7 kB / 474.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.149, allocations: 0 / 474.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.149, allocations: 0 / 474.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.149, allocations: 0 / 474.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.1497, allocations: 0.4998 MB / 475 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.1497, allocations: 4 kB / 475 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.641e-05/0.1498, allocations: 27.92 kB / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1499, allocations: 0 / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1499, allocations: 4 kB / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1499, allocations: 4 kB / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1499, allocations: 4.062 kB / 475.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.1503, allocations: 273 kB / 475.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.1503, allocations: 92.91 kB / 475.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1503, allocations: 8 kB / 475.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.1504, allocations: 16.11 kB / 475.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.1505, allocations: 11.97 kB / 475.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1505, allocations: 8 kB / 475.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.1506, allocations: 131.2 kB / 475.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1506, allocations: 0 / 475.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1509, allocations: 35.92 kB / 475.6 MB, free: 7.344 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00149/0.1524, allocations: 1.147 MB / 476.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.1527, allocations: 123.8 kB / 476.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1527, allocations: 4 kB / 476.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.1529, allocations: 71.83 kB / 477 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1532, allocations: 19.98 kB / 477 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.1554, allocations: 1.886 MB / 478.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.1557, allocations: 0.7119 MB / 479.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.9e-05/0.1558, allocations: 36.38 kB / 479.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.1559, allocations: 31.42 kB / 479.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1559, allocations: 8 kB / 479.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.1691, allocations: 3.096 MB / 482.8 MB, free: 352 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.1693, allocations: 233.7 kB / 483 MB, free: 88 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/1.991, allocations: 0 / 483 MB, free: 88 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches