Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001749/0.001749, allocations: 113 kB / 18.49 MB, free: 4.598 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.00175/0.00175, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.509/1.509, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2182/0.2182, allocations: 44.91 MB / 355.8 MB, free: 12.34 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",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.002122/0.002122, allocations: 63.91 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1235, allocations: 65.43 MB / 0.5525 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003682/0.1272, allocations: 1.599 MB / 0.554 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1284, allocations: 0.5494 MB / 0.5546 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.1285, allocations: 3.938 kB / 0.5546 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1287, allocations: 23.86 kB / 0.5546 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.1291, allocations: 79.61 kB / 0.5547 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.1296, allocations: 107.7 kB / 0.5548 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1298, allocations: 59.83 kB / 0.5548 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1299, allocations: 27.86 kB / 0.5548 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.13, allocations: 19.92 kB / 0.5549 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.1301, allocations: 31.78 kB / 0.5549 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1301, allocations: 0 / 0.5549 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1302, allocations: 35.98 kB / 0.5549 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.1303, allocations: 11.94 kB / 0.5549 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.1303, allocations: 31.78 kB / 0.555 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.1305, allocations: 71.73 kB / 0.555 GB, free: 7.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1305, allocations: 0 / 0.555 GB, free: 7.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1305, allocations: 0 / 0.555 GB, free: 7.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1305, allocations: 4 kB / 0.555 GB, free: 7.473 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006298/0.1312, allocations: 394.9 kB / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1312, allocations: 8.031 kB / 0.5554 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.426e-05/0.1312, allocations: 8.125 kB / 0.5554 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.1313, allocations: 34.75 kB / 0.5555 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.1313, allocations: 8.891 kB / 0.5555 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1316, allocations: 196.2 kB / 0.5557 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1316, allocations: 4.375 kB / 0.5557 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1316, allocations: 8.125 kB / 0.5557 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1318, allocations: 53.67 kB / 0.5557 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1318, allocations: 0 / 0.5557 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1318, allocations: 0 / 0.5557 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1318, allocations: 0 / 0.5557 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1319, allocations: 31.92 kB / 0.5558 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.1324, allocations: 284.8 kB / 0.556 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.1326, allocations: 46.56 kB / 0.5561 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.1326, allocations: 20.94 kB / 0.5561 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1327, allocations: 0 / 0.5561 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1327, allocations: 30.56 kB / 0.5561 GB, free: 6.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1327, allocations: 3.938 kB / 0.5561 GB, free: 6.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006914/0.1334, allocations: 149.5 kB / 0.5563 GB, free: 6.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.1334, allocations: 55.41 kB / 0.5563 GB, free: 5.973 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1337, allocations: 168.9 kB / 0.5565 GB, free: 5.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1337, allocations: 29.7 kB / 0.5565 GB, free: 5.766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.1338, allocations: 100.1 kB / 0.5566 GB, free: 5.664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1338, allocations: 15.86 kB / 0.5566 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.1338, allocations: 17.72 kB / 0.5566 GB, free: 5.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.134, allocations: 322.8 kB / 0.5569 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.1341, allocations: 23.92 kB / 0.557 GB, free: 5.277 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.1342, allocations: 23.98 kB / 0.557 GB, free: 5.254 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.1343, allocations: 52.81 kB / 0.557 GB, free: 5.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1343, allocations: 0 / 0.557 GB, free: 5.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002302/0.1345, allocations: 89.62 kB / 0.5571 GB, free: 5.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1346, allocations: 4 kB / 0.5571 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1346, allocations: 0 / 0.5571 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1346, allocations: 3.938 kB / 0.5571 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.1347, allocations: 15.98 kB / 0.5572 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1347, allocations: 3.938 kB / 0.5572 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.1347, allocations: 7.984 kB / 0.5572 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1347, allocations: 0 / 0.5572 GB, free: 5.07 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 9.847e-05/0.1348, allocations: 120 kB / 0.5573 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.1348, allocations: 11.95 kB / 0.5573 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.1351, allocations: 93.95 kB / 0.5574 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1351, allocations: 4.312 kB / 0.5574 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1351, allocations: 3.938 kB / 0.5574 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1351, allocations: 3.938 kB / 0.5574 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.1356, allocations: 358.5 kB / 0.5577 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1356, allocations: 4 kB / 0.5577 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.1356, allocations: 15.98 kB / 0.5578 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1356, allocations: 3.938 kB / 0.5578 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1356, allocations: 0 / 0.5578 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1356, allocations: 0 / 0.5578 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1356, allocations: 0 / 0.5578 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.1359, allocations: 183.7 kB / 0.5579 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.136, allocations: 93 kB / 0.558 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.136, allocations: 0 / 0.558 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.136, allocations: 19.91 kB / 0.558 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.1361, allocations: 0 / 0.558 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1361, allocations: 4 kB / 0.558 GB, free: 4.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1362, allocations: 123.2 kB / 0.5582 GB, free: 3.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1362, allocations: 0 / 0.5582 GB, free: 3.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1364, allocations: 23.88 kB / 0.5582 GB, free: 3.918 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.001935/0.1384, allocations: 1.024 MB / 0.5592 GB, free: 3.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1386, allocations: 47.97 kB / 0.5592 GB, free: 2.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1386, allocations: 0 / 0.5592 GB, free: 2.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/0.1387, allocations: 31.92 kB / 0.5593 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.139, allocations: 22.73 kB / 0.5593 GB, free: 2.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.1408, allocations: 1.495 MB / 0.5607 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1411, allocations: 0.6963 MB / 0.5614 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.81e-05/0.1411, allocations: 15.78 kB / 0.5614 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.1412, allocations: 27.42 kB / 0.5615 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1412, allocations: 3.938 kB / 0.5615 GB, free: 0.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.1587, allocations: 2.689 MB / 0.5641 GB, free: 13.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.689, allocations: 4.062 kB / 0.5641 GB, free: 13.95 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.854343991028145]