Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001366/0.001366, allocations: 119 kB / 18.5 MB, free: 4.566 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.001392/0.001392, allocations: 190.9 kB / 21.44 MB, free: 1.633 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.403/1.403, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.2124/0.2124, allocations: 44.92 MB / 349.6 MB, free: 1.723 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.55 kB / 491.8 MB, free: 29.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1177, allocations: 64.26 MB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003173/0.1209, allocations: 1.622 MB / 0.5446 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008526/0.1217, allocations: 459.1 kB / 0.545 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.744e-05/0.1218, allocations: 0 / 0.545 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.1224, allocations: 455.1 kB / 0.5455 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.1228, allocations: 251.4 kB / 0.5457 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.1232, allocations: 171.2 kB / 0.5459 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.1234, allocations: 167.6 kB / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1235, allocations: 16.12 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1237, allocations: 119.7 kB / 0.5462 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.1239, allocations: 239.5 kB / 0.5464 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1239, allocations: 4 kB / 0.5464 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.124, allocations: 35.92 kB / 0.5464 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1241, allocations: 83.69 kB / 0.5465 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.779e-05/0.1242, allocations: 107 kB / 0.5466 GB, free: 400 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.1246, allocations: 262.6 kB / 0.5469 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1246, allocations: 0 / 0.5469 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1246, allocations: 0 / 0.5469 GB, free: 136 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1246, allocations: 0 / 0.5469 GB, free: 136 kB / 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.0008019/0.1254, allocations: 0.6453 MB / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1254, allocations: 12.03 kB / 0.5475 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.1255, allocations: 42.67 kB / 0.5476 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.1255, allocations: 44.66 kB / 0.5476 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.1259, allocations: 304.6 kB / 0.5479 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-06/0.1259, allocations: 4.375 kB / 0.5479 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.1259, allocations: 8.125 kB / 0.5479 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1261, allocations: 53.67 kB / 0.5479 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1261, allocations: 0 / 0.5479 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1261, allocations: 4 kB / 0.548 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1261, allocations: 0 / 0.548 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.759e-05/0.1262, allocations: 27.98 kB / 0.548 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.1267, allocations: 408.6 kB / 0.5484 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.127, allocations: 42.56 kB / 0.5484 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.127, allocations: 12.86 kB / 0.5484 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.127, allocations: 8.078 kB / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1271, allocations: 34.5 kB / 0.5485 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1271, allocations: 4 kB / 0.5485 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.00065/0.1277, allocations: 236.7 kB / 0.5487 GB, free: 14.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.1278, allocations: 55.34 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000887/0.1286, allocations: 0.8652 MB / 0.5496 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1287, allocations: 29.7 kB / 0.5496 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.1289, allocations: 228 kB / 0.5498 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1289, allocations: 19.84 kB / 0.5499 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.1289, allocations: 13.72 kB / 0.5499 GB, free: 12.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1291, allocations: 366.8 kB / 0.5502 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.1292, allocations: 19.98 kB / 0.5502 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.535e-05/0.1292, allocations: 19.98 kB / 0.5503 GB, free: 12.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.1294, allocations: 53.02 kB / 0.5503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1294, allocations: 8 kB / 0.5503 GB, free: 12.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002312/0.1296, allocations: 125.3 kB / 0.5504 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1297, allocations: 4 kB / 0.5504 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1297, allocations: 3.938 kB / 0.5504 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1297, allocations: 0 / 0.5504 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.1298, allocations: 15.98 kB / 0.5505 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1298, allocations: 3.938 kB / 0.5505 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.1298, allocations: 4 kB / 0.5505 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1298, allocations: 8 kB / 0.5505 GB, free: 12.2 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.0002069/0.13, allocations: 209.8 kB / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.1301, allocations: 47.67 kB / 0.5507 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.1304, allocations: 141 kB / 0.5508 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1304, allocations: 4.281 kB / 0.5509 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1304, allocations: 3.938 kB / 0.5509 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1304, allocations: 0 / 0.5509 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.131, allocations: 470.5 kB / 0.5513 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.131, allocations: 0 / 0.5513 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.1311, allocations: 15.98 kB / 0.5513 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1311, allocations: 3.938 kB / 0.5513 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1311, allocations: 4 kB / 0.5513 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1311, allocations: 192 / 0.5513 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1311, allocations: 3.938 kB / 0.5513 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1314, allocations: 223.2 kB / 0.5515 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.986e-05/0.1315, allocations: 108.8 kB / 0.5516 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.1315, allocations: 11.88 kB / 0.5517 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.1316, allocations: 7.984 kB / 0.5517 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.1316, allocations: 4 kB / 0.5517 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1316, allocations: 0 / 0.5517 GB, free: 10.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006579/0.1323, allocations: 0.655 MB / 0.5523 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1323, allocations: 4 kB / 0.5523 GB, free: 10.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1325, allocations: 24 kB / 0.5523 GB, free: 10.17 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.00195/0.1345, allocations: 1.06 MB / 0.5534 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.1347, allocations: 59.95 kB / 0.5534 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1347, allocations: 0 / 0.5534 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.8e-05/0.1348, allocations: 27.92 kB / 0.5535 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.1352, allocations: 26.3 kB / 0.5535 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.139, allocations: 3.242 MB / 0.5566 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.1395, allocations: 0.8336 MB / 0.5575 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.885e-05/0.1396, allocations: 11.98 kB / 0.5575 GB, free: 4.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1398, allocations: 115.4 kB / 0.5576 GB, free: 4.84 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1398, allocations: 0 / 0.5576 GB, free: 4.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.169, allocations: 6.065 MB / 0.5635 GB, free: 14.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.552/8.721, allocations: 17.7 kB / 0.5635 GB, free: 14.79 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.602414520923048]