Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.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.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29",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.0007492/0.0007492, allocations: 97.72 kB / 16.02 MB, free: 84 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.000892/0.000892, allocations: 185.4 kB / 16.92 MB, free: 6.934 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.491/1.491, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.3762/0.3762, allocations: 43.58 MB / 315 MB, free: 9.059 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.0005415/0.0005415, allocations: 12 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1464, allocations: 58.87 MB / 443.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test29): time 0.002232/0.1486, allocations: 1.295 MB / 444.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007432/0.1494, allocations: 323.6 kB / 445.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.1495, allocations: 0 / 445.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1498, allocations: 27.84 kB / 445.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.1499, allocations: 39.89 kB / 445.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.1502, allocations: 91.83 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.1503, allocations: 59.84 kB / 445.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1505, allocations: 24.38 kB / 445.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.828e-05/0.1505, allocations: 23.86 kB / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.1506, allocations: 27.84 kB / 445.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1507, allocations: 4 kB / 445.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.141e-05/0.1507, allocations: 27.98 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.1508, allocations: 11.94 kB / 445.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.1509, allocations: 57.48 kB / 445.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.151, allocations: 79.78 kB / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.151, allocations: 0 / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1511, allocations: 0 / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1511, allocations: 0 / 445.6 MB, free: 10.71 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005059/0.1516, allocations: 383.1 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1516, allocations: 8.031 kB / 446 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.1517, allocations: 46.73 kB / 446 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.1517, allocations: 8.844 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1519, allocations: 188.2 kB / 446.2 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.152, allocations: 4.375 kB / 446.2 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.152, allocations: 12.03 kB / 446.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1522, allocations: 79.31 kB / 446.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1522, allocations: 4 kB / 446.3 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1522, allocations: 8 kB / 446.3 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1522, allocations: 0 / 446.3 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1524, allocations: 35.97 kB / 446.4 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.1528, allocations: 393 kB / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1531, allocations: 93.14 kB / 446.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.874e-05/0.1532, allocations: 29.8 kB / 446.9 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.1533, allocations: 4 kB / 446.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1533, allocations: 38.56 kB / 446.9 MB, free: 9.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1533, allocations: 0 / 446.9 MB, free: 9.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007672/0.1541, allocations: 248.9 kB / 447.2 MB, free: 8.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.1541, allocations: 81.05 kB / 447.2 MB, free: 8.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1543, allocations: 153.2 kB / 447.4 MB, free: 8.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.1543, allocations: 37.64 kB / 447.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.1544, allocations: 100 kB / 447.5 MB, free: 8.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1544, allocations: 31.55 kB / 447.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.1545, allocations: 17.7 kB / 447.6 MB, free: 8.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1546, allocations: 322.8 kB / 447.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.1547, allocations: 31.97 kB / 447.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.1548, allocations: 53.69 kB / 448 MB, free: 8.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.155, allocations: 101.6 kB / 448.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.155, allocations: 0 / 448.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002659/0.1553, allocations: 125.5 kB / 448.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1553, allocations: 12 kB / 448.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1553, allocations: 0 / 448.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1554, allocations: 0 / 448.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.1555, allocations: 27.92 kB / 448.2 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1555, allocations: 3.938 kB / 448.2 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.1555, allocations: 7.984 kB / 448.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1555, allocations: 4 kB / 448.3 MB, free: 7.801 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.743e-05/0.1556, allocations: 125.8 kB / 448.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.1557, allocations: 11.81 kB / 448.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.156, allocations: 150.1 kB / 448.5 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.156, allocations: 3.938 kB / 448.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.156, allocations: 4 kB / 448.5 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1561, allocations: 7.984 kB / 448.6 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000648/0.1568, allocations: 0.4946 MB / 449 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1568, allocations: 4 kB / 449.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.1569, allocations: 24.02 kB / 449.1 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.1569, allocations: 4 kB / 449.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1569, allocations: 0 / 449.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1569, allocations: 0 / 449.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1569, allocations: 4 kB / 449.1 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.1572, allocations: 311.6 kB / 449.4 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.1573, allocations: 81.02 kB / 449.5 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.1573, allocations: 12.03 kB / 449.5 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1574, allocations: 11.92 kB / 449.5 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.1575, allocations: 8.594 kB / 449.5 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1575, allocations: 8 kB / 449.5 MB, free: 6.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.755e-05/0.1576, allocations: 119.2 kB / 449.6 MB, free: 6.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1576, allocations: 4 kB / 449.6 MB, free: 6.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.1579, allocations: 19.98 kB / 449.6 MB, free: 6.293 MB / 382.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 (10): * Single equations (assignments): 10 * 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.001549/0.1595, allocations: 1.152 MB / 450.8 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.1598, allocations: 95.88 kB / 450.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1598, allocations: 0 / 450.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.1599, allocations: 51.91 kB / 450.9 MB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.1604, allocations: 16 kB / 451 MB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.1626, allocations: 1.735 MB / 452.7 MB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1629, allocations: 0.7004 MB / 453.4 MB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.415e-05/0.163, allocations: 28.78 kB / 453.4 MB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.1631, allocations: 27.42 kB / 453.4 MB, free: 2.367 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1631, allocations: 0 / 453.4 MB, free: 2.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2551/0.4182, allocations: 2.398 MB / 455.8 MB, free: 45.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.4184, allocations: 228.3 kB / 456.1 MB, free: 45.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.319, allocations: 0 / 456.1 MB, free: 45.7 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches