Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_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.001034/0.001037, allocations: 105.9 kB / 17.2 MB, free: 6.273 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.001156/0.001156, 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.48/1.48, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.2463/0.2463, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001169, allocations: 66.16 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003569/0.1307, allocations: 1.633 MB / 470.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1319, allocations: 435.2 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.132, allocations: 0 / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007677/0.1328, allocations: 447.2 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005184/0.1334, allocations: 247.5 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.134, allocations: 161.9 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.1345, allocations: 147.7 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1347, allocations: 15.98 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.1349, allocations: 99.78 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.1353, allocations: 203.6 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.1354, allocations: 0 / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1355, allocations: 23.98 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.1357, allocations: 83.62 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1358, allocations: 99.05 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.1362, allocations: 235.3 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1362, allocations: 4 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1362, allocations: 0 / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1362, allocations: 0 / 472.4 MB, free: 10.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009258/0.1372, allocations: 0.6413 MB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1372, allocations: 8.031 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.1373, allocations: 34.75 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.1373, allocations: 36.47 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1376, allocations: 304.1 kB / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-06/0.1376, allocations: 384 / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1377, allocations: 8.375 kB / 473.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1378, allocations: 49.62 kB / 473.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1378, allocations: 0 / 473.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1378, allocations: 3.984 kB / 473.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1378, allocations: 7.984 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.1379, allocations: 19.98 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.1384, allocations: 392.7 kB / 473.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.731e-05/0.1385, allocations: 34.56 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.1386, allocations: 20.91 kB / 474 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1386, allocations: 4 kB / 474 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1387, allocations: 30.56 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1387, allocations: 0 / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002958/0.139, allocations: 109.1 kB / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.139, allocations: 51.41 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009321/0.14, allocations: 0.8614 MB / 475 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.14, allocations: 25.7 kB / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.1402, allocations: 224 kB / 475.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.1402, allocations: 3.938 kB / 475.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.1403, allocations: 21.7 kB / 475.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1405, allocations: 362.9 kB / 475.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-05/0.1405, allocations: 11.98 kB / 475.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.1406, allocations: 8 kB / 475.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.791e-05/0.1406, allocations: 28.84 kB / 475.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1407, allocations: 3.938 kB / 475.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001612/0.1408, allocations: 97.05 kB / 475.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1408, allocations: 4.094 kB / 475.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1409, allocations: 8 kB / 475.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1409, allocations: 0 / 475.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.1409, allocations: 4 kB / 475.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.141, allocations: 0 / 475.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.141, allocations: 3.984 kB / 475.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.141, allocations: 4 kB / 475.8 MB, free: 7.297 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 (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.0001877/0.1412, allocations: 213.7 kB / 476 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.1413, allocations: 39.44 kB / 476 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.1415, allocations: 116.6 kB / 476.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1415, allocations: 3.938 kB / 476.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1415, allocations: 7.938 kB / 476.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.1415, allocations: 0 / 476.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.1418, allocations: 281.5 kB / 476.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1418, allocations: 0 / 476.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.1419, allocations: 4 kB / 476.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1419, allocations: 4 kB / 476.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1419, allocations: 0 / 476.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1419, allocations: 4.031 kB / 476.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1419, allocations: 3.984 kB / 476.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1421, allocations: 190.9 kB / 476.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.1422, allocations: 108.6 kB / 476.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.1422, allocations: 0 / 476.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.1423, allocations: 4 kB / 476.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.1424, allocations: 0 / 476.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1424, allocations: 8.031 kB / 476.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006188/0.143, allocations: 0.655 MB / 477.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.143, allocations: 3.938 kB / 477.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1433, allocations: 15.94 kB / 477.4 MB, free: 5.551 MB / 350.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.001203/0.1445, allocations: 0.9801 MB / 478.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.1446, allocations: 19.98 kB / 478.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1446, allocations: 64 / 478.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.747e-05/0.1447, allocations: 19.94 kB / 478.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.1451, allocations: 28.11 kB / 478.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.1486, allocations: 3.238 MB / 481.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.149, allocations: 0.8185 MB / 482.5 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.463e-05/0.149, allocations: 20.05 kB / 482.6 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.1492, allocations: 107.4 kB / 482.7 MB, free: 312 kB / 350.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1492, allocations: 4 kB / 482.7 MB, free: 308 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.1653, allocations: 5.466 MB / 488.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.1655, allocations: 236 kB / 488.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.039, allocations: 3.938 kB / 488.4 MB, free: 10.68 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches