Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.00175/0.00175, allocations: 116.2 kB / 18.49 MB, free: 4.582 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.001942/0.001942, allocations: 214.9 kB / 21.46 MB, free: 1.629 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.591/1.591, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.2239/0.2239, allocations: 44.91 MB / 355.8 MB, free: 12.32 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",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.00211/0.00211, allocations: 71.88 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1339, allocations: 65.42 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003285/0.1372, allocations: 1.603 MB / 0.554 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1383, allocations: 0.5376 MB / 0.5545 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.1384, allocations: 0 / 0.5545 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.1386, allocations: 27.86 kB / 0.5546 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1389, allocations: 79.61 kB / 0.5547 GB, free: 7.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1392, allocations: 95.7 kB / 0.5547 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1393, allocations: 63.77 kB / 0.5548 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.1394, allocations: 11.94 kB / 0.5548 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.341e-05/0.1395, allocations: 27.86 kB / 0.5548 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.1395, allocations: 23.84 kB / 0.5549 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1395, allocations: 4 kB / 0.5549 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.021e-05/0.1396, allocations: 35.92 kB / 0.5549 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.1397, allocations: 7.938 kB / 0.5549 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.1397, allocations: 27.8 kB / 0.5549 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.1399, allocations: 79.72 kB / 0.555 GB, free: 7.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1399, allocations: 4 kB / 0.555 GB, free: 7.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1399, allocations: 0 / 0.555 GB, free: 7.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1399, allocations: 0 / 0.555 GB, free: 7.484 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.0004998/0.1404, allocations: 394.8 kB / 0.5554 GB, free: 7.051 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1404, allocations: 12.03 kB / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.334e-05/0.1405, allocations: 8.188 kB / 0.5554 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.737e-05/0.1405, allocations: 30.75 kB / 0.5554 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.1405, allocations: 8.891 kB / 0.5555 GB, free: 6.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1407, allocations: 196.2 kB / 0.5556 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1407, allocations: 4.375 kB / 0.5556 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1408, allocations: 4.125 kB / 0.5556 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1409, allocations: 49.67 kB / 0.5557 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1409, allocations: 4 kB / 0.5557 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1409, allocations: 0 / 0.5557 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1409, allocations: 3.938 kB / 0.5557 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.141, allocations: 19.98 kB / 0.5557 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.1415, allocations: 284.8 kB / 0.556 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.1417, allocations: 42.55 kB / 0.556 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.1418, allocations: 24.88 kB / 0.5561 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1418, allocations: 0 / 0.5561 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1418, allocations: 30.56 kB / 0.5561 GB, free: 6.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1418, allocations: 4 kB / 0.5561 GB, free: 6.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006083/0.1424, allocations: 137.4 kB / 0.5562 GB, free: 6.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1424, allocations: 55.41 kB / 0.5563 GB, free: 6.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.1426, allocations: 164.9 kB / 0.5564 GB, free: 5.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1427, allocations: 29.7 kB / 0.5565 GB, free: 5.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.1427, allocations: 100.1 kB / 0.5566 GB, free: 5.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.1428, allocations: 19.86 kB / 0.5566 GB, free: 5.684 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.1428, allocations: 21.7 kB / 0.5566 GB, free: 5.656 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.143, allocations: 318.8 kB / 0.5569 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.143, allocations: 19.98 kB / 0.5569 GB, free: 5.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.1431, allocations: 19.98 kB / 0.5569 GB, free: 5.297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1433, allocations: 40.83 kB / 0.557 GB, free: 5.254 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1433, allocations: 8 kB / 0.557 GB, free: 5.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002007/0.1435, allocations: 85.8 kB / 0.5571 GB, free: 5.156 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.1435, allocations: 8 kB / 0.5571 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1435, allocations: 0 / 0.5571 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1435, allocations: 4 kB / 0.5571 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.1436, allocations: 11.94 kB / 0.5571 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1436, allocations: 7.922 kB / 0.5571 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.1436, allocations: 4 kB / 0.5571 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1436, allocations: 4 kB / 0.5571 GB, free: 5.117 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 9.557e-05/0.1437, allocations: 120 kB / 0.5572 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.1438, allocations: 7.953 kB / 0.5572 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.144, allocations: 97.89 kB / 0.5573 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.144, allocations: 0 / 0.5573 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.144, allocations: 3.938 kB / 0.5573 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.144, allocations: 0 / 0.5573 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.1445, allocations: 346.6 kB / 0.5577 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1445, allocations: 0 / 0.5577 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.1446, allocations: 15.94 kB / 0.5577 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1446, allocations: 3.938 kB / 0.5577 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1446, allocations: 4 kB / 0.5577 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1446, allocations: 0 / 0.5577 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1446, allocations: 3.984 kB / 0.5577 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1449, allocations: 175.5 kB / 0.5578 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.1449, allocations: 85 kB / 0.5579 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.145, allocations: 4 kB / 0.5579 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.145, allocations: 3.984 kB / 0.5579 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.1451, allocations: 4 kB / 0.5579 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1451, allocations: 192 / 0.5579 GB, free: 4.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1452, allocations: 123.2 kB / 0.5581 GB, free: 4.031 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1452, allocations: 4 kB / 0.5581 GB, free: 4.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1454, allocations: 27.88 kB / 0.5581 GB, free: 4 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.001958/0.1474, allocations: 1.019 MB / 0.5591 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1476, allocations: 43.97 kB / 0.5591 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1476, allocations: 0 / 0.5591 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.1477, allocations: 31.91 kB / 0.5592 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.148, allocations: 18.81 kB / 0.5592 GB, free: 3.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.1499, allocations: 1.457 MB / 0.5606 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1502, allocations: 0.7002 MB / 0.5613 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.392e-05/0.1502, allocations: 11.84 kB / 0.5613 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.1503, allocations: 35.36 kB / 0.5613 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1503, allocations: 0 / 0.5613 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.1682, allocations: 2.658 MB / 0.5639 GB, free: 14.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/8.655, allocations: 7.578 kB / 0.5639 GB, free: 14.11 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.941634048009291]