Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001814/0.001814, allocations: 118.4 kB / 18.49 MB, free: 4.535 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.002129/0.002129, allocations: 211.1 kB / 21.46 MB, free: 1.582 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.635/1.635, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2191/0.2191, allocations: 44.91 MB / 355.8 MB, free: 12.32 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.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.002118/0.002118, allocations: 63.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1207, allocations: 65.43 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003243/0.1239, allocations: 1.622 MB / 0.5541 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1251, allocations: 0.5494 MB / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.1252, allocations: 4 kB / 0.5546 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.1256, allocations: 111.7 kB / 0.5547 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.1259, allocations: 115.6 kB / 0.5548 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1263, allocations: 115.6 kB / 0.5549 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1265, allocations: 91.73 kB / 0.555 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1266, allocations: 19.92 kB / 0.555 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.1267, allocations: 39.89 kB / 0.5551 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1268, allocations: 79.73 kB / 0.5551 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1269, allocations: 4 kB / 0.5551 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.127, allocations: 47.92 kB / 0.5552 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.094e-05/0.127, allocations: 23.92 kB / 0.5552 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.1271, allocations: 39.67 kB / 0.5553 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1273, allocations: 115.5 kB / 0.5554 GB, free: 7.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1273, allocations: 0 / 0.5554 GB, free: 7.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1273, allocations: 0 / 0.5554 GB, free: 7.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1273, allocations: 0 / 0.5554 GB, free: 7.133 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.00064/0.128, allocations: 434.5 kB / 0.5558 GB, free: 6.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.128, allocations: 12.03 kB / 0.5558 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.348e-05/0.128, allocations: 4.188 kB / 0.5558 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.1281, allocations: 42.67 kB / 0.5558 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.1281, allocations: 8.891 kB / 0.5558 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.1284, allocations: 212.9 kB / 0.556 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1284, allocations: 384 / 0.556 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1284, allocations: 8.125 kB / 0.5561 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1286, allocations: 53.67 kB / 0.5561 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1286, allocations: 3.953 kB / 0.5561 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1286, allocations: 4 kB / 0.5561 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1286, allocations: 0 / 0.5561 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1287, allocations: 31.91 kB / 0.5561 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.1292, allocations: 304.8 kB / 0.5564 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1293, allocations: 46.55 kB / 0.5565 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.1293, allocations: 16.86 kB / 0.5565 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.1294, allocations: 7.938 kB / 0.5565 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.1294, allocations: 34.64 kB / 0.5565 GB, free: 5.758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.1294, allocations: 0 / 0.5565 GB, free: 5.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009984/0.1304, allocations: 249.1 kB / 0.5568 GB, free: 5.508 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.1305, allocations: 59.34 kB / 0.5568 GB, free: 5.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.1308, allocations: 250.1 kB / 0.5571 GB, free: 5.184 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1308, allocations: 25.7 kB / 0.5571 GB, free: 5.152 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.1309, allocations: 112.1 kB / 0.5572 GB, free: 5.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.1309, allocations: 35.8 kB / 0.5572 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.131, allocations: 17.72 kB / 0.5572 GB, free: 4.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1311, allocations: 330.8 kB / 0.5576 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.1312, allocations: 31.97 kB / 0.5576 GB, free: 4.617 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/0.1313, allocations: 27.98 kB / 0.5576 GB, free: 4.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1315, allocations: 76.75 kB / 0.5577 GB, free: 4.512 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1315, allocations: 0 / 0.5577 GB, free: 4.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002506/0.1318, allocations: 113.6 kB / 0.5578 GB, free: 4.395 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1318, allocations: 12 kB / 0.5578 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1318, allocations: 0 / 0.5578 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1318, allocations: 0 / 0.5578 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1319, allocations: 15.98 kB / 0.5578 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.1319, allocations: 7.938 kB / 0.5578 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.132, allocations: 7.984 kB / 0.5578 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.132, allocations: 4 kB / 0.5578 GB, free: 4.348 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.0001164/0.1321, allocations: 136 kB / 0.558 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.1321, allocations: 19.91 kB / 0.558 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.1325, allocations: 135.3 kB / 0.5581 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1325, allocations: 0 / 0.5581 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.1325, allocations: 8.359 kB / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1325, allocations: 0 / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.1331, allocations: 423.2 kB / 0.5585 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.1331, allocations: 11.97 kB / 0.5585 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.1332, allocations: 15.98 kB / 0.5586 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1332, allocations: 3.938 kB / 0.5586 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1332, allocations: 7.984 kB / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1332, allocations: 0 / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1332, allocations: 0 / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.1335, allocations: 224.2 kB / 0.5588 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.1335, allocations: 89 kB / 0.5589 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.1335, allocations: 8 kB / 0.5589 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.1336, allocations: 3.984 kB / 0.5589 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.1336, allocations: 4 kB / 0.5589 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1337, allocations: 4 kB / 0.5589 GB, free: 3.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.1338, allocations: 188.4 kB / 0.5591 GB, free: 2.977 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1338, allocations: 0 / 0.5591 GB, free: 2.977 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1341, allocations: 35.86 kB / 0.5591 GB, free: 2.941 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.002254/0.1364, allocations: 1.093 MB / 0.5602 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.1366, allocations: 71.89 kB / 0.5602 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1366, allocations: 0 / 0.5602 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1367, allocations: 40.06 kB / 0.5603 GB, free: 1.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.1371, allocations: 34.14 kB / 0.5603 GB, free: 1.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.1395, allocations: 1.815 MB / 0.5621 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1399, allocations: 0.7197 MB / 0.5628 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.429e-05/0.14, allocations: 16.66 kB / 0.5628 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.14, allocations: 39.42 kB / 0.5628 GB, free: 15.16 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.14, allocations: 0 / 0.5628 GB, free: 15.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.1585, allocations: 3.391 MB / 0.5662 GB, free: 11.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.54/8.698, allocations: 12.06 kB / 0.5662 GB, free: 11.82 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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: 12.009277570003178]