Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001658/0.001658, allocations: 116.8 kB / 18.5 MB, free: 4.434 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.001772/0.001772, allocations: 189.2 kB / 21.44 MB, free: 1.504 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.498/1.498, allocations: 225.6 MB / 249.8 MB, free: 3.594 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.2515/0.2515, allocations: 44.92 MB / 349.6 MB, free: 1.703 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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 68.62 kB / 491.8 MB, free: 30.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1205, allocations: 64.26 MB / 0.543 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003047/0.1236, allocations: 1.594 MB / 0.5446 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007897/0.1244, allocations: 419.1 kB / 0.545 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.1244, allocations: 0 / 0.545 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.1247, allocations: 71.77 kB / 0.5451 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.1249, allocations: 67.73 kB / 0.5451 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.1252, allocations: 111.7 kB / 0.5452 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1254, allocations: 75.86 kB / 0.5453 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.1255, allocations: 16.12 kB / 0.5453 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.1255, allocations: 35.84 kB / 0.5453 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.1256, allocations: 55.81 kB / 0.5454 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.1257, allocations: 4 kB / 0.5454 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.279e-05/0.1258, allocations: 43.98 kB / 0.5454 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.1258, allocations: 31.84 kB / 0.5455 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.1259, allocations: 27.75 kB / 0.5455 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.126, allocations: 103.6 kB / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.726e-06/0.126, allocations: 0 / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1261, allocations: 0 / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1261, allocations: 0 / 0.5456 GB, free: 1.414 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005195/0.1266, allocations: 410.8 kB / 0.546 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1266, allocations: 8.031 kB / 0.546 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.1267, allocations: 34.75 kB / 0.546 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.1267, allocations: 12.89 kB / 0.546 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1269, allocations: 200.1 kB / 0.5462 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.127, allocations: 384 / 0.5462 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.127, allocations: 12.12 kB / 0.5463 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1271, allocations: 53.66 kB / 0.5463 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1272, allocations: 0 / 0.5463 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1272, allocations: 0 / 0.5463 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1272, allocations: 0 / 0.5463 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1273, allocations: 31.97 kB / 0.5463 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.1277, allocations: 304.7 kB / 0.5466 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.1278, allocations: 38.56 kB / 0.5467 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.1279, allocations: 24.88 kB / 0.5467 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1279, allocations: 0 / 0.5467 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.1279, allocations: 34.56 kB / 0.5467 GB, free: 104 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.1279, allocations: 3.938 kB / 0.5467 GB, free: 100 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009103/0.1288, allocations: 245.1 kB / 0.547 GB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1289, allocations: 55.34 kB / 0.547 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.1291, allocations: 210.2 kB / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1291, allocations: 25.7 kB / 0.5472 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.1292, allocations: 104.1 kB / 0.5473 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.1292, allocations: 31.81 kB / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.1292, allocations: 21.7 kB / 0.5474 GB, free: 15.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1294, allocations: 326.8 kB / 0.5477 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.1295, allocations: 23.98 kB / 0.5477 GB, free: 15.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.1296, allocations: 31.97 kB / 0.5477 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.1297, allocations: 77.05 kB / 0.5478 GB, free: 14.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1297, allocations: 0 / 0.5478 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002178/0.1299, allocations: 109.5 kB / 0.5479 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1299, allocations: 11.98 kB / 0.5479 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.13, allocations: 0 / 0.5479 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.13, allocations: 0 / 0.5479 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.1301, allocations: 16 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1301, allocations: 7.938 kB / 0.548 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.1301, allocations: 7.984 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1301, allocations: 4 kB / 0.548 GB, free: 14.75 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.0001036/0.1302, allocations: 125.8 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.1303, allocations: 15.91 kB / 0.5481 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.1306, allocations: 130.3 kB / 0.5482 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1306, allocations: 4 kB / 0.5482 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1306, allocations: 7.938 kB / 0.5482 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1306, allocations: 3.984 kB / 0.5482 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.1311, allocations: 411.2 kB / 0.5486 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1311, allocations: 11.88 kB / 0.5486 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.1312, allocations: 15.98 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1312, allocations: 0 / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1312, allocations: 8 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1312, allocations: 4.031 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1312, allocations: 0 / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1315, allocations: 216.2 kB / 0.5489 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.1315, allocations: 89 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.1316, allocations: 0 / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.1316, allocations: 8 kB / 0.549 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.1317, allocations: 7.984 kB / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.1317, allocations: 4 kB / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1318, allocations: 156.1 kB / 0.5491 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1318, allocations: 0 / 0.5491 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.1321, allocations: 19.94 kB / 0.5492 GB, free: 13.43 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.002151/0.1342, allocations: 1.113 MB / 0.5502 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.1344, allocations: 67.89 kB / 0.5503 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1344, allocations: 0 / 0.5503 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.061e-05/0.1345, allocations: 35.98 kB / 0.5503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1349, allocations: 25.05 kB / 0.5504 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.137, allocations: 1.683 MB / 0.552 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.1373, allocations: 0.7117 MB / 0.5527 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.903e-05/0.1374, allocations: 20.95 kB / 0.5527 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.1375, allocations: 35.36 kB / 0.5528 GB, free: 9.785 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1375, allocations: 4 kB / 0.5528 GB, free: 9.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.1624, allocations: 3.095 MB / 0.5558 GB, free: 6.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/7.965, allocations: 10.16 kB / 0.5558 GB, free: 6.707 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.164098612964153]