Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.001975/0.001975, 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.00196/0.00196, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.512/1.512, allocations: 230.6 MB / 254.1 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.231/0.231, allocations: 44.9 MB / 355.1 MB, free: 12.35 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.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",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.001985/0.001985, allocations: 75.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1355, allocations: 65.42 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.00337/0.1388, allocations: 1.611 MB / 0.5533 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.141, allocations: 1.171 MB / 0.5545 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.646e-05/0.1411, allocations: 0 / 0.5545 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1414, allocations: 31.78 kB / 0.5545 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.1418, allocations: 87.56 kB / 0.5546 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.1422, allocations: 111.7 kB / 0.5547 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.1424, allocations: 71.77 kB / 0.5548 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1425, allocations: 15.92 kB / 0.5548 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.1425, allocations: 27.86 kB / 0.5548 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.1427, allocations: 31.84 kB / 0.5548 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1427, allocations: 4 kB / 0.5548 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.143, allocations: 99.92 kB / 0.5549 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.143, allocations: 15.88 kB / 0.555 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.143, allocations: 23.86 kB / 0.555 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.1433, allocations: 147.5 kB / 0.5551 GB, free: 6.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1433, allocations: 0 / 0.5551 GB, free: 6.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1433, allocations: 0 / 0.5551 GB, free: 6.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1433, allocations: 0 / 0.5551 GB, free: 6.676 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.0005833/0.1439, allocations: 398.8 kB / 0.5555 GB, free: 6.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.144, allocations: 12.03 kB / 0.5555 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.144, allocations: 34.75 kB / 0.5555 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.1441, allocations: 12.83 kB / 0.5556 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1443, allocations: 192.2 kB / 0.5557 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.1443, allocations: 4.375 kB / 0.5557 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.1443, allocations: 4.375 kB / 0.5558 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1445, allocations: 67.33 kB / 0.5558 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1445, allocations: 0 / 0.5558 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1445, allocations: 0 / 0.5558 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1445, allocations: 4 kB / 0.5558 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1446, allocations: 27.91 kB / 0.5558 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.1451, allocations: 292.9 kB / 0.5561 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.1453, allocations: 38.56 kB / 0.5562 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.1453, allocations: 20.94 kB / 0.5562 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1454, allocations: 0 / 0.5562 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1454, allocations: 30.56 kB / 0.5562 GB, free: 5.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.1454, allocations: 11.94 kB / 0.5562 GB, free: 5.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006609/0.1461, allocations: 149.4 kB / 0.5564 GB, free: 5.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.1461, allocations: 77.11 kB / 0.5564 GB, free: 5.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1463, allocations: 147.8 kB / 0.5566 GB, free: 4.973 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1463, allocations: 25.7 kB / 0.5566 GB, free: 4.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.1464, allocations: 96.12 kB / 0.5567 GB, free: 4.844 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.1464, allocations: 19.86 kB / 0.5567 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.1464, allocations: 17.72 kB / 0.5567 GB, free: 4.801 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1466, allocations: 322.8 kB / 0.557 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.1467, allocations: 23.98 kB / 0.5571 GB, free: 4.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-05/0.1468, allocations: 37.69 kB / 0.5571 GB, free: 4.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1469, allocations: 60.98 kB / 0.5572 GB, free: 4.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.1469, allocations: 4 kB / 0.5572 GB, free: 4.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002101/0.1471, allocations: 81.62 kB / 0.5572 GB, free: 4.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1471, allocations: 11.92 kB / 0.5573 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1472, allocations: 0 / 0.5573 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1472, allocations: 7.938 kB / 0.5573 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.1472, allocations: 8 kB / 0.5573 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1472, allocations: 0 / 0.5573 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.1473, allocations: 19.86 kB / 0.5573 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1473, allocations: 0 / 0.5573 GB, free: 4.211 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.994e-05/0.1474, allocations: 120 kB / 0.5574 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.1474, allocations: 3.953 kB / 0.5574 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.1477, allocations: 97.95 kB / 0.5575 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1477, allocations: 4.219 kB / 0.5575 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1477, allocations: 0 / 0.5575 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1477, allocations: 3.938 kB / 0.5575 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.1482, allocations: 362.5 kB / 0.5578 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1482, allocations: 3.984 kB / 0.5579 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.1482, allocations: 11.98 kB / 0.5579 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1483, allocations: 0 / 0.5579 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1483, allocations: 7.938 kB / 0.5579 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1483, allocations: 0 / 0.5579 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1483, allocations: 0 / 0.5579 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1485, allocations: 191.7 kB / 0.5581 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.1486, allocations: 85.06 kB / 0.5581 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.1486, allocations: 3.938 kB / 0.5581 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-05/0.1487, allocations: 7.984 kB / 0.5581 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.1487, allocations: 4 kB / 0.5582 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1487, allocations: 0 / 0.5582 GB, free: 3.215 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1488, allocations: 117.6 kB / 0.5583 GB, free: 3.102 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1488, allocations: 4 kB / 0.5583 GB, free: 3.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000292/0.1491, allocations: 39.86 kB / 0.5583 GB, free: 3.059 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.002231/0.1514, allocations: 1.101 MB / 0.5594 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1516, allocations: 63.89 kB / 0.5594 GB, free: 2.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1516, allocations: 0 / 0.5594 GB, free: 2.062 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/0.1517, allocations: 27.92 kB / 0.5595 GB, free: 2.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1521, allocations: 18.8 kB / 0.5595 GB, free: 2.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.1539, allocations: 1.436 MB / 0.5609 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1542, allocations: 0.6963 MB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.154e-05/0.1543, allocations: 15.77 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.1544, allocations: 35.41 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1544, allocations: 0 / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.1816, allocations: 3.27 MB / 0.5648 GB, free: 12.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.255, allocations: 12.92 kB / 0.5648 GB, free: 12.45 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.473319245968014]