Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2347/0.2347, allocations: 44.91 MB / 355.8 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 74.06 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1424, allocations: 65.41 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003543/0.146, allocations: 1.609 MB / 0.554 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1471, allocations: 0.5377 MB / 0.5545 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.1472, allocations: 3.938 kB / 0.5546 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.1475, allocations: 23.86 kB / 0.5546 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.1478, allocations: 79.67 kB / 0.5546 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.1481, allocations: 91.7 kB / 0.5547 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1483, allocations: 67.83 kB / 0.5548 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1484, allocations: 19.86 kB / 0.5548 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.1485, allocations: 19.92 kB / 0.5548 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.653e-05/0.1486, allocations: 23.86 kB / 0.5549 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1486, allocations: 7.922 kB / 0.5549 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/0.1487, allocations: 28 kB / 0.5549 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.1488, allocations: 15.92 kB / 0.5549 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.1488, allocations: 23.81 kB / 0.5549 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1491, allocations: 91.64 kB / 0.555 GB, free: 7.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.1491, allocations: 0 / 0.555 GB, free: 7.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1491, allocations: 0 / 0.555 GB, free: 7.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1491, allocations: 0 / 0.555 GB, free: 7.457 MB / 414.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.0007186/0.1498, allocations: 390.9 kB / 0.5554 GB, free: 7.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1498, allocations: 8.031 kB / 0.5554 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.193e-05/0.1499, allocations: 4.188 kB / 0.5554 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.1499, allocations: 38.69 kB / 0.5554 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1499, allocations: 12.84 kB / 0.5555 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1502, allocations: 196.8 kB / 0.5556 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1502, allocations: 3.938 kB / 0.5556 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.1502, allocations: 4 kB / 0.5557 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1504, allocations: 45.69 kB / 0.5557 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1504, allocations: 0 / 0.5557 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1504, allocations: 4 kB / 0.5557 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1504, allocations: 0 / 0.5557 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.989e-05/0.1505, allocations: 23.97 kB / 0.5557 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.151, allocations: 288.8 kB / 0.556 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.1512, allocations: 46.48 kB / 0.556 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.1513, allocations: 20.94 kB / 0.5561 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1513, allocations: 0 / 0.5561 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.1514, allocations: 30.56 kB / 0.5561 GB, free: 6.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1514, allocations: 4 kB / 0.5561 GB, free: 6.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006274/0.152, allocations: 145.3 kB / 0.5562 GB, free: 6.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.1521, allocations: 55.34 kB / 0.5563 GB, free: 5.973 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.1523, allocations: 185.2 kB / 0.5565 GB, free: 5.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.1523, allocations: 29.7 kB / 0.5565 GB, free: 5.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.1524, allocations: 92.14 kB / 0.5566 GB, free: 5.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.1524, allocations: 27.83 kB / 0.5566 GB, free: 5.621 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.1525, allocations: 17.72 kB / 0.5566 GB, free: 5.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1527, allocations: 318.8 kB / 0.5569 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/0.1527, allocations: 15.98 kB / 0.5569 GB, free: 5.262 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.1528, allocations: 19.98 kB / 0.557 GB, free: 5.242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.1529, allocations: 49.02 kB / 0.557 GB, free: 5.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1529, allocations: 4 kB / 0.557 GB, free: 5.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001929/0.1531, allocations: 81.58 kB / 0.5571 GB, free: 5.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1532, allocations: 8 kB / 0.5571 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1532, allocations: 0 / 0.5571 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1532, allocations: 0 / 0.5571 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.046e-05/0.1532, allocations: 15.92 kB / 0.5571 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.1533, allocations: 3.938 kB / 0.5571 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.1533, allocations: 4 kB / 0.5571 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1533, allocations: 8 kB / 0.5571 GB, free: 5.062 MB / 414.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 (5): * Single equations (assignments): 5 * 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.0001118/0.1534, allocations: 124 kB / 0.5572 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.1535, allocations: 7.953 kB / 0.5573 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.1537, allocations: 89.95 kB / 0.5573 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1537, allocations: 4 kB / 0.5573 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1537, allocations: 3.938 kB / 0.5573 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1537, allocations: 0 / 0.5573 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.1542, allocations: 350.5 kB / 0.5577 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1542, allocations: 0 / 0.5577 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.1543, allocations: 15.98 kB / 0.5577 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.1543, allocations: 7.875 kB / 0.5577 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1543, allocations: 0 / 0.5577 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1543, allocations: 0 / 0.5577 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1543, allocations: 0 / 0.5577 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1546, allocations: 191.6 kB / 0.5579 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.1546, allocations: 88.95 kB / 0.558 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1546, allocations: 4 kB / 0.558 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.1547, allocations: 4 kB / 0.558 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.1547, allocations: 11.92 kB / 0.558 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1548, allocations: 0 / 0.558 GB, free: 4.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1549, allocations: 138.7 kB / 0.5581 GB, free: 3.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1549, allocations: 0 / 0.5581 GB, free: 3.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1551, allocations: 12 kB / 0.5581 GB, free: 3.93 MB / 414.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 (5): * Single equations (assignments): 5 * 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.002233/0.1573, allocations: 1.016 MB / 0.5591 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1576, allocations: 47.97 kB / 0.5592 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1576, allocations: 0 / 0.5592 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.1577, allocations: 23.92 kB / 0.5592 GB, free: 2.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.1581, allocations: 31.66 kB / 0.5592 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.1601, allocations: 1.489 MB / 0.5607 GB, free: 1.387 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.1605, allocations: 0.702 MB / 0.5614 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.188e-05/0.1606, allocations: 4 kB / 0.5614 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.1606, allocations: 31.42 kB / 0.5614 GB, free: 0.625 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1606, allocations: 0 / 0.5614 GB, free: 0.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.1801, allocations: 2.713 MB / 0.564 GB, free: 13.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/8.683, allocations: 8.047 kB / 0.5641 GB, free: 13.96 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.836806483042892]