Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001345/0.001345, allocations: 108.2 kB / 18.49 MB, free: 4.602 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.001502/0.001502, allocations: 215 kB / 21.45 MB, free: 1.652 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.516/1.516, 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.2361/0.2361, allocations: 44.91 MB / 355.8 MB, free: 12.41 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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27",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.001926/0.001926, allocations: 63.91 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1312, allocations: 65.42 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003406/0.1346, allocations: 1.609 MB / 0.554 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1357, allocations: 0.5493 MB / 0.5546 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.1358, allocations: 0 / 0.5546 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.1361, allocations: 127.6 kB / 0.5547 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.1364, allocations: 131.6 kB / 0.5548 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1367, allocations: 91.64 kB / 0.5549 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.137, allocations: 95.73 kB / 0.555 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1371, allocations: 23.92 kB / 0.555 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.922e-05/0.1372, allocations: 43.88 kB / 0.5551 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.1374, allocations: 99.7 kB / 0.5552 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1374, allocations: 4 kB / 0.5552 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.1375, allocations: 51.91 kB / 0.5552 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.1376, allocations: 23.92 kB / 0.5552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.494e-05/0.1377, allocations: 35.67 kB / 0.5553 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.1379, allocations: 123.4 kB / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1379, allocations: 0 / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1379, allocations: 0 / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.138, allocations: 4 kB / 0.5554 GB, free: 7.109 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.0006867/0.1386, allocations: 438.5 kB / 0.5558 GB, free: 6.633 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1387, allocations: 12.03 kB / 0.5558 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.843e-05/0.1387, allocations: 4.172 kB / 0.5558 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.1388, allocations: 42.62 kB / 0.5559 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.1388, allocations: 16.84 kB / 0.5559 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1391, allocations: 215.8 kB / 0.5561 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1391, allocations: 4.375 kB / 0.5561 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.1391, allocations: 4.125 kB / 0.5561 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1393, allocations: 53.67 kB / 0.5561 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1393, allocations: 8 kB / 0.5562 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1393, allocations: 0 / 0.5562 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1393, allocations: 0 / 0.5562 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1394, allocations: 31.91 kB / 0.5562 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.1399, allocations: 300.8 kB / 0.5565 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.14, allocations: 42.56 kB / 0.5565 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.1401, allocations: 20.94 kB / 0.5565 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1401, allocations: 0 / 0.5565 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1401, allocations: 38.5 kB / 0.5566 GB, free: 5.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1401, allocations: 0 / 0.5566 GB, free: 5.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009998/0.1411, allocations: 237 kB / 0.5568 GB, free: 5.492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.1412, allocations: 55.34 kB / 0.5568 GB, free: 5.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.1415, allocations: 279.8 kB / 0.5571 GB, free: 5.137 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.1415, allocations: 29.7 kB / 0.5571 GB, free: 5.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.1416, allocations: 112.1 kB / 0.5573 GB, free: 4.988 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.1417, allocations: 27.83 kB / 0.5573 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.1417, allocations: 29.69 kB / 0.5573 GB, free: 4.926 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1419, allocations: 330.8 kB / 0.5576 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.142, allocations: 19.98 kB / 0.5576 GB, free: 4.574 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.302e-05/0.142, allocations: 23.98 kB / 0.5577 GB, free: 4.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1422, allocations: 60.83 kB / 0.5577 GB, free: 4.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.1422, allocations: 0 / 0.5577 GB, free: 4.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002458/0.1424, allocations: 113.5 kB / 0.5578 GB, free: 4.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1425, allocations: 4 kB / 0.5578 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1425, allocations: 0 / 0.5578 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1425, allocations: 0 / 0.5578 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1426, allocations: 19.98 kB / 0.5579 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1426, allocations: 3.938 kB / 0.5579 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.1426, allocations: 4 kB / 0.5579 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.1426, allocations: 0 / 0.5579 GB, free: 4.34 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.0001763/0.1428, allocations: 136 kB / 0.558 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.1429, allocations: 23.89 kB / 0.558 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.1432, allocations: 131.7 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1432, allocations: 0 / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1432, allocations: 3.938 kB / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1432, allocations: 0 / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.1437, allocations: 419.2 kB / 0.5585 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1437, allocations: 3.938 kB / 0.5585 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.1438, allocations: 19.98 kB / 0.5586 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1438, allocations: 0 / 0.5586 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1438, allocations: 8 kB / 0.5586 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1438, allocations: 3.938 kB / 0.5586 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1438, allocations: 7.984 kB / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.1442, allocations: 208.2 kB / 0.5588 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1443, allocations: 96.94 kB / 0.5589 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1443, allocations: 4 kB / 0.5589 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.1444, allocations: 0 / 0.5589 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.1444, allocations: 11.98 kB / 0.5589 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1444, allocations: 4 kB / 0.5589 GB, free: 3.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.1446, allocations: 205.5 kB / 0.5591 GB, free: 2.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1446, allocations: 0 / 0.5591 GB, free: 2.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1449, allocations: 31.92 kB / 0.5591 GB, free: 2.938 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.002206/0.1471, allocations: 1.084 MB / 0.5602 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.1473, allocations: 59.91 kB / 0.5602 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1473, allocations: 0 / 0.5602 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.1474, allocations: 32.03 kB / 0.5603 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.1478, allocations: 34.95 kB / 0.5603 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.1501, allocations: 1.824 MB / 0.5621 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.1505, allocations: 0.7236 MB / 0.5628 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.863e-05/0.1506, allocations: 8.656 kB / 0.5628 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.1507, allocations: 39.42 kB / 0.5628 GB, free: 15.17 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1507, allocations: 0 / 0.5628 GB, free: 15.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.1704, allocations: 3.461 MB / 0.5662 GB, free: 11.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/8.618, allocations: 8.938 kB / 0.5662 GB, free: 11.77 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.807697782991454]