Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 249.8 MB, free: 3.715 MB / 190.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.2419/0.2419, allocations: 44.92 MB / 349.6 MB, free: 1.738 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.73 kB / 491.8 MB, free: 30.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1354, allocations: 64.26 MB / 0.543 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003108/0.1385, allocations: 1.568 MB / 0.5446 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008595/0.1394, allocations: 407.2 kB / 0.5449 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.1394, allocations: 3.938 kB / 0.5449 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.1396, allocations: 15.86 kB / 0.545 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.1398, allocations: 39.84 kB / 0.545 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.1401, allocations: 83.7 kB / 0.5451 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.1402, allocations: 59.89 kB / 0.5451 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1404, allocations: 11.94 kB / 0.5451 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.974e-05/0.1404, allocations: 23.86 kB / 0.5452 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.1405, allocations: 19.86 kB / 0.5452 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1405, allocations: 4 kB / 0.5452 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.1406, allocations: 31.97 kB / 0.5452 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.1406, allocations: 11.94 kB / 0.5452 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.1406, allocations: 11.88 kB / 0.5452 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1408, allocations: 75.73 kB / 0.5453 GB, free: 1.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1408, allocations: 0 / 0.5453 GB, free: 1.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1408, allocations: 0 / 0.5453 GB, free: 1.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1408, allocations: 0 / 0.5453 GB, free: 1.719 MB / 398.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.0004822/0.1413, allocations: 386.9 kB / 0.5457 GB, free: 1.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1413, allocations: 8.031 kB / 0.5457 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.1414, allocations: 34.75 kB / 0.5457 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.1414, allocations: 8.891 kB / 0.5457 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1416, allocations: 188.3 kB / 0.5459 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1416, allocations: 4.375 kB / 0.5459 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1416, allocations: 4.375 kB / 0.5459 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1418, allocations: 45.62 kB / 0.546 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1418, allocations: 0 / 0.546 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1418, allocations: 7.984 kB / 0.546 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1418, allocations: 0 / 0.546 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.294e-05/0.1419, allocations: 27.91 kB / 0.546 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.1422, allocations: 272.8 kB / 0.5463 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1424, allocations: 42.66 kB / 0.5463 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.1425, allocations: 20.84 kB / 0.5463 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1425, allocations: 0 / 0.5463 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1425, allocations: 34.5 kB / 0.5464 GB, free: 496 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1425, allocations: 0 / 0.5464 GB, free: 496 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004918/0.143, allocations: 137.5 kB / 0.5465 GB, free: 352 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.1431, allocations: 51.41 kB / 0.5465 GB, free: 288 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1433, allocations: 148.3 kB / 0.5467 GB, free: 128 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1433, allocations: 25.7 kB / 0.5467 GB, free: 96 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.1434, allocations: 92.09 kB / 0.5468 GB, free: 0 / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.1434, allocations: 19.92 kB / 0.5468 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.1434, allocations: 21.7 kB / 0.5468 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1436, allocations: 326.7 kB / 0.5471 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.1437, allocations: 19.92 kB / 0.5472 GB, free: 15.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.767e-05/0.1437, allocations: 19.98 kB / 0.5472 GB, free: 15.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1439, allocations: 49.02 kB / 0.5472 GB, free: 15.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1439, allocations: 0 / 0.5472 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001703/0.144, allocations: 85.56 kB / 0.5473 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.144, allocations: 4 kB / 0.5473 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.144, allocations: 0 / 0.5473 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1441, allocations: 3.984 kB / 0.5473 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.1441, allocations: 12 kB / 0.5473 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1441, allocations: 0 / 0.5473 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.1442, allocations: 7.984 kB / 0.5473 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.1442, allocations: 3.938 kB / 0.5473 GB, free: 15.41 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 0.0001021/0.1443, allocations: 117.8 kB / 0.5474 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1443, allocations: 7.953 kB / 0.5475 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.1445, allocations: 93.91 kB / 0.5475 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1445, allocations: 0 / 0.5475 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1445, allocations: 0 / 0.5475 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1445, allocations: 0 / 0.5475 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.145, allocations: 342.4 kB / 0.5479 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.145, allocations: 7.984 kB / 0.5479 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.145, allocations: 8 kB / 0.5479 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.145, allocations: 0 / 0.5479 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.145, allocations: 4 kB / 0.5479 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.145, allocations: 7.875 kB / 0.5479 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.145, allocations: 192 / 0.5479 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1453, allocations: 183.5 kB / 0.5481 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.1453, allocations: 85.06 kB / 0.5482 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1453, allocations: 0 / 0.5482 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.1454, allocations: 11.92 kB / 0.5482 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.1454, allocations: 4 kB / 0.5482 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1454, allocations: 0 / 0.5482 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1455, allocations: 113.5 kB / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1455, allocations: 0 / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1458, allocations: 19.94 kB / 0.5483 GB, free: 14.32 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.002024/0.1478, allocations: 1.017 MB / 0.5493 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.148, allocations: 39.97 kB / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.148, allocations: 0 / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.53e-05/0.1481, allocations: 31.92 kB / 0.5494 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1485, allocations: 26.17 kB / 0.5494 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.1502, allocations: 1.4 MB / 0.5507 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.1507, allocations: 0.6961 MB / 0.5514 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.026e-05/0.1507, allocations: 16.06 kB / 0.5514 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.1508, allocations: 23.42 kB / 0.5515 GB, free: 11.11 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1508, allocations: 0 / 0.5515 GB, free: 11.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.1753, allocations: 2.475 MB / 0.5539 GB, free: 8.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/7.954, allocations: 14.66 kB / 0.5539 GB, free: 8.664 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.207878297194839]