Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001641/0.001641, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002026/0.002026, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.505/1.505, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2431/0.2431, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 71.89 kB / 0.491 GB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1362, allocations: 65.98 MB / 0.5554 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.005237/0.1415, allocations: 1.63 MB / 0.557 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1429, allocations: 0.5534 MB / 0.5575 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.143, allocations: 3.938 kB / 0.5575 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004173/0.1434, allocations: 123.7 kB / 0.5577 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.1439, allocations: 131.5 kB / 0.5578 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.1442, allocations: 103.7 kB / 0.5579 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.1445, allocations: 95.73 kB / 0.558 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1446, allocations: 23.98 kB / 0.558 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1447, allocations: 47.77 kB / 0.558 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.1449, allocations: 95.75 kB / 0.5581 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1449, allocations: 4 kB / 0.5581 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1451, allocations: 43.98 kB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.1452, allocations: 27.91 kB / 0.5582 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.1452, allocations: 35.69 kB / 0.5582 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.1455, allocations: 135.4 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1455, allocations: 7.938 kB / 0.5584 GB, free: 2.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1455, allocations: 0 / 0.5584 GB, free: 2.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1455, allocations: 0 / 0.5584 GB, free: 2.738 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009757/0.1465, allocations: 438.5 kB / 0.5588 GB, free: 2.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.1466, allocations: 8.031 kB / 0.5588 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.521e-05/0.1466, allocations: 38.73 kB / 0.5588 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.1467, allocations: 16.84 kB / 0.5588 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.147, allocations: 207.9 kB / 0.559 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.147, allocations: 4.375 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.147, allocations: 4.375 kB / 0.5591 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1472, allocations: 65.55 kB / 0.5591 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1472, allocations: 0 / 0.5591 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1472, allocations: 3.984 kB / 0.5591 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1472, allocations: 0 / 0.5591 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1474, allocations: 23.98 kB / 0.5591 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.1479, allocations: 308.8 kB / 0.5594 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1481, allocations: 54.48 kB / 0.5595 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/0.1481, allocations: 16.86 kB / 0.5595 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1481, allocations: 0 / 0.5595 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.1482, allocations: 38.64 kB / 0.5595 GB, free: 1.363 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1482, allocations: 0 / 0.5595 GB, free: 1.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001079/0.1493, allocations: 257.1 kB / 0.5598 GB, free: 1.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.1493, allocations: 55.41 kB / 0.5598 GB, free: 1.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.1497, allocations: 275.7 kB / 0.5601 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1497, allocations: 29.7 kB / 0.5601 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.1498, allocations: 112.1 kB / 0.5602 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.1498, allocations: 31.73 kB / 0.5603 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.1499, allocations: 21.72 kB / 0.5603 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1501, allocations: 330.8 kB / 0.5606 GB, free: 220 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/0.1502, allocations: 31.97 kB / 0.5606 GB, free: 188 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.659e-05/0.1502, allocations: 31.92 kB / 0.5607 GB, free: 156 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.1504, allocations: 72.81 kB / 0.5607 GB, free: 80 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1504, allocations: 4 kB / 0.5607 GB, free: 76 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003168/0.1508, allocations: 113.6 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1508, allocations: 4 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1508, allocations: 432 / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.1508, allocations: 4 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1509, allocations: 15.98 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.1509, allocations: 7.875 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.151, allocations: 7.984 kB / 0.5609 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.151, allocations: 8 kB / 0.5609 GB, free: 15.91 MB / 430.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 (8): * Single equations (assignments): 8 * 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.0001711/0.1512, allocations: 136 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.1512, allocations: 11.91 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.1516, allocations: 147 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1516, allocations: 0 / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1516, allocations: 3.938 kB / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1516, allocations: 3.938 kB / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/0.1522, allocations: 435.2 kB / 0.5616 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1523, allocations: 4 kB / 0.5616 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.048e-05/0.1523, allocations: 19.88 kB / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1523, allocations: 0 / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1523, allocations: 7.984 kB / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1524, allocations: 0 / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1524, allocations: 480 / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.1527, allocations: 220.3 kB / 0.5618 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.1528, allocations: 92.95 kB / 0.5619 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1528, allocations: 0 / 0.5619 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.1529, allocations: 15.92 kB / 0.5619 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1529, allocations: 4 kB / 0.5619 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1529, allocations: 7.984 kB / 0.562 GB, free: 14.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.1532, allocations: 209.5 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1532, allocations: 0 / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1535, allocations: 19.94 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.002505/0.156, allocations: 1.113 MB / 0.5633 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.1562, allocations: 79.88 kB / 0.5633 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1562, allocations: 0 / 0.5633 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1563, allocations: 39.91 kB / 0.5634 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.1568, allocations: 23.77 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.1594, allocations: 1.848 MB / 0.5652 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.1598, allocations: 0.7158 MB / 0.5659 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.427e-05/0.1599, allocations: 24.94 kB / 0.5659 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.16, allocations: 43.42 kB / 0.566 GB, free: 10.64 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.16, allocations: 4 kB / 0.566 GB, free: 10.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.1892, allocations: 3.478 MB / 0.5694 GB, free: 7.211 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.384, allocations: 4.391 kB / 0.5694 GB, free: 7.211 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.552926596952602]