Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001405/0.001405, allocations: 113 kB / 18.49 MB, free: 4.539 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.001505/0.001505, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.537/1.537, 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.2221/0.2221, 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",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.002021/0.002021, allocations: 67.91 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1339, allocations: 65.43 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.004496/0.1384, allocations: 1.622 MB / 0.5541 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.14, allocations: 0.5377 MB / 0.5546 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.1401, allocations: 0 / 0.5546 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.1406, allocations: 127.6 kB / 0.5547 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.1411, allocations: 139.5 kB / 0.5548 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.1416, allocations: 87.75 kB / 0.5549 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1418, allocations: 91.75 kB / 0.555 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.142, allocations: 19.91 kB / 0.555 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1421, allocations: 47.89 kB / 0.5551 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1423, allocations: 99.64 kB / 0.5552 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1423, allocations: 0 / 0.5552 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1425, allocations: 55.97 kB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.1425, allocations: 19.92 kB / 0.5552 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.1426, allocations: 39.67 kB / 0.5553 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.1429, allocations: 123.4 kB / 0.5554 GB, free: 7.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1429, allocations: 0 / 0.5554 GB, free: 7.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1429, allocations: 0 / 0.5554 GB, free: 7.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1429, allocations: 0 / 0.5554 GB, free: 7.098 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.0007466/0.1437, allocations: 446.4 kB / 0.5558 GB, free: 6.613 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1437, allocations: 11.97 kB / 0.5558 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.987e-05/0.1438, allocations: 8.188 kB / 0.5558 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.1438, allocations: 34.75 kB / 0.5559 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.1438, allocations: 16.84 kB / 0.5559 GB, free: 6.535 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.1442, allocations: 211.8 kB / 0.5561 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1442, allocations: 384 / 0.5561 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.1442, allocations: 8.125 kB / 0.5561 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1444, allocations: 57.66 kB / 0.5561 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1444, allocations: 0 / 0.5561 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1444, allocations: 4 kB / 0.5562 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1444, allocations: 0 / 0.5562 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1446, allocations: 35.91 kB / 0.5562 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.1452, allocations: 292.8 kB / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.1453, allocations: 42.56 kB / 0.5565 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.1454, allocations: 20.88 kB / 0.5565 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.1454, allocations: 0 / 0.5565 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.1455, allocations: 34.56 kB / 0.5566 GB, free: 5.727 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.1455, allocations: 0 / 0.5566 GB, free: 5.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001321/0.1468, allocations: 249 kB / 0.5568 GB, free: 5.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.1469, allocations: 59.34 kB / 0.5569 GB, free: 5.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.1473, allocations: 279.8 kB / 0.5571 GB, free: 5.117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.1473, allocations: 29.7 kB / 0.5571 GB, free: 5.082 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1474, allocations: 112.1 kB / 0.5573 GB, free: 4.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.1475, allocations: 31.81 kB / 0.5573 GB, free: 4.938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.1476, allocations: 21.7 kB / 0.5573 GB, free: 4.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.1478, allocations: 326.8 kB / 0.5576 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1479, allocations: 27.98 kB / 0.5576 GB, free: 4.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.148, allocations: 23.98 kB / 0.5577 GB, free: 4.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.1482, allocations: 64.77 kB / 0.5577 GB, free: 4.465 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1482, allocations: 0 / 0.5577 GB, free: 4.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003398/0.1486, allocations: 105.6 kB / 0.5578 GB, free: 4.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1486, allocations: 4 kB / 0.5578 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1486, allocations: 0 / 0.5578 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1486, allocations: 4 kB / 0.5578 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1488, allocations: 19.98 kB / 0.5579 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1488, allocations: 3.938 kB / 0.5579 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/0.1489, allocations: 4 kB / 0.5579 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1489, allocations: 3.984 kB / 0.5579 GB, free: 4.316 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 (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.0001563/0.149, allocations: 140 kB / 0.558 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.1491, allocations: 15.91 kB / 0.558 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.1495, allocations: 127 kB / 0.5581 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1495, allocations: 0 / 0.5581 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1495, allocations: 7.875 kB / 0.5581 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1495, allocations: 0 / 0.5581 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.1503, allocations: 411.7 kB / 0.5585 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1503, allocations: 3.938 kB / 0.5585 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1505, allocations: 23.92 kB / 0.5586 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1505, allocations: 4.031 kB / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1505, allocations: 0 / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.1505, allocations: 11.92 kB / 0.5586 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1505, allocations: 0 / 0.5586 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.1509, allocations: 208.3 kB / 0.5588 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.151, allocations: 96.95 kB / 0.5589 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.151, allocations: 0 / 0.5589 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.1511, allocations: 4 kB / 0.5589 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.1512, allocations: 11.98 kB / 0.5589 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1512, allocations: 8 kB / 0.5589 GB, free: 3.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003041/0.1515, allocations: 209.5 kB / 0.5591 GB, free: 2.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1515, allocations: 0 / 0.5591 GB, free: 2.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004892/0.152, allocations: 23.92 kB / 0.5591 GB, free: 2.926 MB / 414.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.003032/0.155, allocations: 1.093 MB / 0.5602 GB, free: 1.992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.1554, allocations: 59.91 kB / 0.5602 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1554, allocations: 0 / 0.5602 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1555, allocations: 35.91 kB / 0.5603 GB, free: 1.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.1561, allocations: 32.27 kB / 0.5603 GB, free: 1.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.1593, allocations: 1.816 MB / 0.5621 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.1598, allocations: 0.7158 MB / 0.5628 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.373e-05/0.1599, allocations: 20.95 kB / 0.5628 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.806e-05/0.16, allocations: 39.42 kB / 0.5628 GB, free: 15.16 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.16, allocations: 0 / 0.5628 GB, free: 15.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.1841, allocations: 3.452 MB / 0.5662 GB, free: 11.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.504/8.688, allocations: 7.953 kB / 0.5662 GB, free: 11.76 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.86416861397447]