Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001426/0.001426, allocations: 116.1 kB / 18.49 MB, free: 4.559 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.002107/0.002107, allocations: 219 kB / 21.46 MB, free: 1.605 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.578/1.578, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2265/0.2265, 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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",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.001949/0.001949, allocations: 67.89 kB / 0.4886 GB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1387, allocations: 65.42 MB / 0.5525 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003255/0.1419, allocations: 1.607 MB / 0.554 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.143, allocations: 0.5533 MB / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.1431, allocations: 4 kB / 0.5546 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.1433, allocations: 23.78 kB / 0.5546 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.1436, allocations: 79.62 kB / 0.5547 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.1438, allocations: 98.89 kB / 0.5548 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.144, allocations: 75.77 kB / 0.5548 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1441, allocations: 19.91 kB / 0.5549 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.413e-05/0.1442, allocations: 23.92 kB / 0.5549 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.641e-05/0.1443, allocations: 35.78 kB / 0.5549 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1443, allocations: 4 kB / 0.5549 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.1445, allocations: 107.9 kB / 0.555 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.1445, allocations: 19.91 kB / 0.555 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.1445, allocations: 23.81 kB / 0.5551 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.1448, allocations: 151.4 kB / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1448, allocations: 3.984 kB / 0.5552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1448, allocations: 0 / 0.5552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1448, allocations: 0 / 0.5552 GB, free: 7.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005985/0.1454, allocations: 406.8 kB / 0.5556 GB, free: 6.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1455, allocations: 8.031 kB / 0.5556 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.921e-05/0.1455, allocations: 8.188 kB / 0.5556 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.1456, allocations: 38.69 kB / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.1456, allocations: 8.891 kB / 0.5557 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1458, allocations: 198.2 kB / 0.5558 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1459, allocations: 4.375 kB / 0.5559 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.1459, allocations: 8.125 kB / 0.5559 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.146, allocations: 67.39 kB / 0.5559 GB, free: 6.434 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1461, allocations: 4 kB / 0.5559 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1461, allocations: 7.984 kB / 0.5559 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1461, allocations: 0 / 0.5559 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1462, allocations: 23.98 kB / 0.556 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.1466, allocations: 308.8 kB / 0.5563 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.1468, allocations: 58.55 kB / 0.5563 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.1469, allocations: 24.97 kB / 0.5563 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1469, allocations: 4 kB / 0.5563 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1469, allocations: 30.56 kB / 0.5564 GB, free: 5.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1469, allocations: 3.938 kB / 0.5564 GB, free: 5.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006634/0.1476, allocations: 185.4 kB / 0.5565 GB, free: 5.719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.1476, allocations: 89.05 kB / 0.5566 GB, free: 5.613 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.1478, allocations: 152.4 kB / 0.5568 GB, free: 5.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.1478, allocations: 29.7 kB / 0.5568 GB, free: 5.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.1479, allocations: 100.1 kB / 0.5569 GB, free: 5.316 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.148, allocations: 23.78 kB / 0.5569 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.148, allocations: 29.7 kB / 0.557 GB, free: 5.258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1482, allocations: 318.8 kB / 0.5573 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.19e-05/0.1482, allocations: 31.97 kB / 0.5573 GB, free: 4.906 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.1483, allocations: 53.62 kB / 0.5573 GB, free: 4.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1485, allocations: 72.77 kB / 0.5574 GB, free: 4.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1485, allocations: 0 / 0.5574 GB, free: 4.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002539/0.1488, allocations: 117.5 kB / 0.5575 GB, free: 4.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1488, allocations: 4 kB / 0.5575 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1488, allocations: 4.031 kB / 0.5575 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1488, allocations: 0 / 0.5575 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1489, allocations: 23.92 kB / 0.5575 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1489, allocations: 0 / 0.5575 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.149, allocations: 7.938 kB / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.149, allocations: 7.938 kB / 0.5576 GB, free: 4.605 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 (9): * Single equations (assignments): 9 * 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.0001065/0.1491, allocations: 121.8 kB / 0.5577 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.1491, allocations: 7.953 kB / 0.5577 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.1495, allocations: 118.3 kB / 0.5578 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1495, allocations: 0 / 0.5578 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1495, allocations: 0 / 0.5578 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.1495, allocations: 7.938 kB / 0.5578 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.15, allocations: 394.5 kB / 0.5582 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.15, allocations: 3.938 kB / 0.5582 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.1501, allocations: 16.36 kB / 0.5582 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1501, allocations: 8.219 kB / 0.5582 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1501, allocations: 4 kB / 0.5582 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1501, allocations: 4 kB / 0.5582 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1501, allocations: 3.938 kB / 0.5582 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1504, allocations: 195.5 kB / 0.5584 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.1505, allocations: 85.06 kB / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1505, allocations: 7.938 kB / 0.5585 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.1506, allocations: 7.984 kB / 0.5585 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.1506, allocations: 7.938 kB / 0.5585 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.1506, allocations: 7.984 kB / 0.5585 GB, free: 3.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1507, allocations: 116.6 kB / 0.5586 GB, free: 3.402 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1507, allocations: 0 / 0.5586 GB, free: 3.402 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000299/0.151, allocations: 43.86 kB / 0.5587 GB, free: 3.359 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 (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.002449/0.1535, allocations: 1.127 MB / 0.5598 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.1538, allocations: 79.88 kB / 0.5599 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1538, allocations: 0 / 0.5599 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.908e-05/0.1539, allocations: 31.97 kB / 0.5599 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.1543, allocations: 18.81 kB / 0.5599 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.1566, allocations: 1.565 MB / 0.5614 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.157, allocations: 0.6961 MB / 0.5621 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.1571, allocations: 32.53 kB / 0.5621 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.1572, allocations: 31.42 kB / 0.5622 GB, free: 15.84 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1572, allocations: 0 / 0.5622 GB, free: 15.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.1767, allocations: 3.618 MB / 0.5657 GB, free: 12.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/8.525, allocations: 3.125 kB / 0.5657 GB, free: 12.24 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.854979199008085]