Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001334/0.001334, 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.001339/0.001339, 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.465/1.465, allocations: 225.6 MB / 249.8 MB, free: 3.723 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.2277/0.2277, allocations: 44.92 MB / 349.6 MB, free: 1.742 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 68.56 kB / 491.8 MB, free: 29.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1232, allocations: 64.26 MB / 0.543 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003184/0.1264, allocations: 1.601 MB / 0.5446 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008262/0.1272, allocations: 415.2 kB / 0.545 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.1273, allocations: 0 / 0.545 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.1276, allocations: 75.77 kB / 0.5451 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.1278, allocations: 63.73 kB / 0.5451 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.1281, allocations: 111.7 kB / 0.5452 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1282, allocations: 67.88 kB / 0.5453 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1283, allocations: 27.98 kB / 0.5453 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.1284, allocations: 39.83 kB / 0.5454 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1285, allocations: 55.81 kB / 0.5454 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1285, allocations: 4 kB / 0.5454 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.9e-05/0.1286, allocations: 43.98 kB / 0.5455 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.1287, allocations: 19.92 kB / 0.5455 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.1287, allocations: 31.75 kB / 0.5455 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1289, allocations: 103.6 kB / 0.5456 GB, free: 1.441 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1289, allocations: 0 / 0.5456 GB, free: 1.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1289, allocations: 3.938 kB / 0.5456 GB, free: 1.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1289, allocations: 0 / 0.5456 GB, free: 1.438 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.0005278/0.1295, allocations: 410.8 kB / 0.546 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1295, allocations: 8.031 kB / 0.546 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.1295, allocations: 30.75 kB / 0.546 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.1296, allocations: 12.89 kB / 0.546 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.1298, allocations: 200.2 kB / 0.5462 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1298, allocations: 4.375 kB / 0.5462 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1298, allocations: 8.125 kB / 0.5462 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.13, allocations: 57.61 kB / 0.5463 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.13, allocations: 0 / 0.5463 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.13, allocations: 4 kB / 0.5463 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.13, allocations: 0 / 0.5463 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.759e-05/0.1301, allocations: 27.97 kB / 0.5463 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.1305, allocations: 300.8 kB / 0.5466 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.1306, allocations: 50.44 kB / 0.5467 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.1307, allocations: 16.94 kB / 0.5467 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.1307, allocations: 0 / 0.5467 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.1307, allocations: 34.56 kB / 0.5467 GB, free: 128 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1307, allocations: 4 kB / 0.5467 GB, free: 124 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008886/0.1316, allocations: 237.2 kB / 0.5469 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1317, allocations: 55.34 kB / 0.547 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1319, allocations: 206.2 kB / 0.5472 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1319, allocations: 29.7 kB / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.132, allocations: 100.1 kB / 0.5473 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.132, allocations: 27.75 kB / 0.5473 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.132, allocations: 25.7 kB / 0.5474 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1322, allocations: 326.8 kB / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.1323, allocations: 23.98 kB / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.1323, allocations: 35.91 kB / 0.5477 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.1325, allocations: 72.83 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1325, allocations: 0 / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002188/0.1327, allocations: 113.6 kB / 0.5479 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1328, allocations: 7.938 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1328, allocations: 320 / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1328, allocations: 7.984 kB / 0.5479 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.1329, allocations: 12.42 kB / 0.5479 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1329, allocations: 3.938 kB / 0.5479 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.026e-05/0.1329, allocations: 15.92 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1329, allocations: 3.984 kB / 0.548 GB, free: 14.78 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.0001019/0.133, allocations: 129.8 kB / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.1331, allocations: 11.91 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.1333, allocations: 126.4 kB / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1333, allocations: 3.984 kB / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1333, allocations: 11.94 kB / 0.5482 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1334, allocations: 3.984 kB / 0.5482 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.1339, allocations: 419.1 kB / 0.5486 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1339, allocations: 3.938 kB / 0.5486 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.841e-05/0.134, allocations: 23.92 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.134, allocations: 0 / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.134, allocations: 4 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.134, allocations: 8.031 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.134, allocations: 0 / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.1342, allocations: 208.3 kB / 0.5489 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.1343, allocations: 89 kB / 0.549 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1343, allocations: 0 / 0.549 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.1344, allocations: 4 kB / 0.549 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1344, allocations: 15.92 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1344, allocations: 4 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1346, allocations: 152.1 kB / 0.5491 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1346, allocations: 0 / 0.5491 GB, free: 13.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1348, allocations: 20 kB / 0.5491 GB, free: 13.45 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.0021/0.1369, allocations: 1.109 MB / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1371, allocations: 79.86 kB / 0.5503 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1371, allocations: 0 / 0.5503 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.1372, allocations: 39.92 kB / 0.5503 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.1376, allocations: 27.27 kB / 0.5504 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.1397, allocations: 1.674 MB / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1401, allocations: 0.7156 MB / 0.5527 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.509e-05/0.1401, allocations: 12.66 kB / 0.5527 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.1402, allocations: 35.42 kB / 0.5528 GB, free: 9.82 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1402, allocations: 4 kB / 0.5528 GB, free: 9.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.1642, allocations: 3.089 MB / 0.5558 GB, free: 6.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/7.909, allocations: 11.88 kB / 0.5558 GB, free: 6.738 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.020304066129029]