Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.001293/0.001293, allocations: 121 kB / 18.5 MB, free: 4.562 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.001404/0.001404, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.476/1.476, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2215/0.2215, allocations: 44.9 MB / 355.8 MB, free: 12.43 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",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.001948/0.001948, allocations: 59.91 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1267, allocations: 65.43 MB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003136/0.1298, allocations: 1.613 MB / 0.554 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1309, allocations: 0.5493 MB / 0.5546 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.458e-05/0.1309, allocations: 0 / 0.5546 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.1312, allocations: 107.7 kB / 0.5547 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1315, allocations: 119.6 kB / 0.5548 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1318, allocations: 99.25 kB / 0.5549 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1319, allocations: 95.73 kB / 0.555 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.132, allocations: 15.92 kB / 0.555 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.1321, allocations: 43.89 kB / 0.555 GB, free: 7.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1322, allocations: 75.73 kB / 0.5551 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1322, allocations: 4 kB / 0.5551 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-05/0.1323, allocations: 39.98 kB / 0.5552 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.1324, allocations: 27.86 kB / 0.5552 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.1324, allocations: 39.66 kB / 0.5552 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1327, allocations: 119.6 kB / 0.5553 GB, free: 7.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1327, allocations: 3.938 kB / 0.5553 GB, free: 7.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1327, allocations: 0 / 0.5553 GB, free: 7.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1327, allocations: 0 / 0.5553 GB, free: 7.18 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.0005938/0.1333, allocations: 434.6 kB / 0.5557 GB, free: 6.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1333, allocations: 8.031 kB / 0.5558 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.216e-05/0.1333, allocations: 4.188 kB / 0.5558 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.1334, allocations: 30.75 kB / 0.5558 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.1334, allocations: 8.891 kB / 0.5558 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1336, allocations: 220.9 kB / 0.556 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1337, allocations: 384 / 0.556 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.1337, allocations: 12.12 kB / 0.556 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1339, allocations: 53.66 kB / 0.5561 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1339, allocations: 3.953 kB / 0.5561 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1339, allocations: 0 / 0.5561 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1339, allocations: 0 / 0.5561 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.134, allocations: 31.98 kB / 0.5561 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.1344, allocations: 300.8 kB / 0.5564 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.1346, allocations: 42.56 kB / 0.5564 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.1346, allocations: 16.89 kB / 0.5564 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1346, allocations: 7.984 kB / 0.5565 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1347, allocations: 30.56 kB / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1347, allocations: 4 kB / 0.5565 GB, free: 5.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009657/0.1356, allocations: 237.1 kB / 0.5567 GB, free: 5.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.1357, allocations: 59.33 kB / 0.5568 GB, free: 5.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.136, allocations: 250.1 kB / 0.557 GB, free: 5.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.136, allocations: 33.69 kB / 0.557 GB, free: 5.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.1361, allocations: 112.1 kB / 0.5571 GB, free: 5.105 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.1361, allocations: 27.75 kB / 0.5572 GB, free: 5.078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.1361, allocations: 17.72 kB / 0.5572 GB, free: 5.055 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1363, allocations: 326.8 kB / 0.5575 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.1364, allocations: 27.98 kB / 0.5575 GB, free: 4.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.1365, allocations: 19.98 kB / 0.5575 GB, free: 4.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1366, allocations: 64.83 kB / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1366, allocations: 0 / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002254/0.1368, allocations: 105.5 kB / 0.5577 GB, free: 4.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1369, allocations: 7.984 kB / 0.5577 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1369, allocations: 0 / 0.5577 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1369, allocations: 4 kB / 0.5577 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.137, allocations: 15.98 kB / 0.5577 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.137, allocations: 7.938 kB / 0.5577 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.137, allocations: 4 kB / 0.5577 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.137, allocations: 4 kB / 0.5578 GB, free: 4.461 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.0001095/0.1372, allocations: 132 kB / 0.5579 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.1372, allocations: 15.91 kB / 0.5579 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.1375, allocations: 127.3 kB / 0.558 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1375, allocations: 0 / 0.558 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1375, allocations: 11.94 kB / 0.558 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1375, allocations: 432 / 0.558 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.1381, allocations: 411.2 kB / 0.5584 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1381, allocations: 3.938 kB / 0.5584 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/0.1382, allocations: 19.98 kB / 0.5584 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.1382, allocations: 0 / 0.5584 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1382, allocations: 4 kB / 0.5584 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1382, allocations: 8.031 kB / 0.5585 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1382, allocations: 0 / 0.5585 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.1385, allocations: 208.2 kB / 0.5587 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.1385, allocations: 92.94 kB / 0.5587 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1385, allocations: 4 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.1386, allocations: 8 kB / 0.5588 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.1387, allocations: 7.984 kB / 0.5588 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1387, allocations: 7.938 kB / 0.5588 GB, free: 3.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.1389, allocations: 192.4 kB / 0.559 GB, free: 3.117 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1389, allocations: 0 / 0.559 GB, free: 3.117 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1391, allocations: 15.94 kB / 0.559 GB, free: 3.102 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.002232/0.1414, allocations: 1.095 MB / 0.56 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.1416, allocations: 67.89 kB / 0.5601 GB, free: 2.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1416, allocations: 0 / 0.5601 GB, free: 2.102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.004e-05/0.1417, allocations: 31.98 kB / 0.5601 GB, free: 2.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1421, allocations: 24.98 kB / 0.5602 GB, free: 2.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.1443, allocations: 1.769 MB / 0.5619 GB, free: 188 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.1447, allocations: 0.708 MB / 0.5626 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.036e-05/0.1448, allocations: 12.66 kB / 0.5626 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.1448, allocations: 39.42 kB / 0.5626 GB, free: 15.4 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1448, allocations: 0 / 0.5626 GB, free: 15.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.1636, allocations: 3.333 MB / 0.5659 GB, free: 12.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.622/8.786, allocations: 19.73 kB / 0.5659 GB, free: 12.11 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.84456495201448]