Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001946/0.001946, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.002241/0.002241, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.555/1.555, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2415/0.2415, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003098/0.003098, allocations: 63.91 kB / 0.491 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1358, allocations: 65.99 MB / 0.5554 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003089/0.1388, allocations: 1.607 MB / 0.557 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1399, allocations: 0.5572 MB / 0.5575 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.1399, allocations: 4 kB / 0.5575 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.1401, allocations: 27.78 kB / 0.5575 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.1404, allocations: 71.69 kB / 0.5576 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1406, allocations: 95.69 kB / 0.5577 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1408, allocations: 71.77 kB / 0.5578 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.507e-05/0.1408, allocations: 11.98 kB / 0.5578 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.1409, allocations: 27.91 kB / 0.5578 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.141, allocations: 35.86 kB / 0.5578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.141, allocations: 7.938 kB / 0.5579 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.1412, allocations: 107.9 kB / 0.558 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.1412, allocations: 15.97 kB / 0.558 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.1413, allocations: 27.81 kB / 0.558 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1415, allocations: 151.4 kB / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1415, allocations: 4 kB / 0.5581 GB, free: 3.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1415, allocations: 0 / 0.5581 GB, free: 3.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1415, allocations: 0 / 0.5581 GB, free: 3.035 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.0005547/0.1421, allocations: 418.7 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1421, allocations: 8.031 kB / 0.5586 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.1422, allocations: 34.75 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.1422, allocations: 8.891 kB / 0.5586 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.1424, allocations: 196.2 kB / 0.5588 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1424, allocations: 4.375 kB / 0.5588 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1425, allocations: 4.375 kB / 0.5588 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1426, allocations: 71.33 kB / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.1426, allocations: 0 / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1427, allocations: 8 kB / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1427, allocations: 0 / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1428, allocations: 27.97 kB / 0.5589 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.1432, allocations: 304.8 kB / 0.5592 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1434, allocations: 62.53 kB / 0.5592 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.1434, allocations: 24.98 kB / 0.5593 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1434, allocations: 3.984 kB / 0.5593 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1435, allocations: 30.56 kB / 0.5593 GB, free: 1.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1435, allocations: 0 / 0.5593 GB, free: 1.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007041/0.1442, allocations: 185.4 kB / 0.5595 GB, free: 1.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.1442, allocations: 81.11 kB / 0.5596 GB, free: 1.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.1444, allocations: 159.6 kB / 0.5597 GB, free: 1.223 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1444, allocations: 29.7 kB / 0.5597 GB, free: 1.188 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.1445, allocations: 100 kB / 0.5598 GB, free: 1.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.1445, allocations: 23.84 kB / 0.5598 GB, free: 1.062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.1446, allocations: 21.72 kB / 0.5599 GB, free: 1.035 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1447, allocations: 322.8 kB / 0.5602 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1448, allocations: 35.97 kB / 0.5602 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.145, allocations: 45.69 kB / 0.5603 GB, free: 0.625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.1451, allocations: 68.83 kB / 0.5603 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1451, allocations: 0 / 0.5603 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002611/0.1454, allocations: 117.5 kB / 0.5604 GB, free: 444 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1454, allocations: 7.938 kB / 0.5604 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1454, allocations: 4.031 kB / 0.5604 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1454, allocations: 4 kB / 0.5604 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1456, allocations: 19.92 kB / 0.5605 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1456, allocations: 4 kB / 0.5605 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.1456, allocations: 7.922 kB / 0.5605 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1456, allocations: 11.94 kB / 0.5605 GB, free: 384 kB / 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 9.241e-05/0.1457, allocations: 113.8 kB / 0.5606 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.1458, allocations: 7.953 kB / 0.5606 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.1461, allocations: 126.7 kB / 0.5607 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1461, allocations: 4 kB / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1461, allocations: 0 / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1461, allocations: 3.938 kB / 0.5607 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.1467, allocations: 402.7 kB / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1467, allocations: 0 / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.1467, allocations: 27.94 kB / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1467, allocations: 0 / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1468, allocations: 7.922 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1468, allocations: 0 / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1468, allocations: 0 / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.147, allocations: 195.5 kB / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.1471, allocations: 85.06 kB / 0.5614 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1471, allocations: 7.938 kB / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.1472, allocations: 7.984 kB / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.1472, allocations: 8 kB / 0.5614 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1472, allocations: 0 / 0.5614 GB, free: 15.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1474, allocations: 122.3 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1474, allocations: 0 / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.1477, allocations: 47.86 kB / 0.5616 GB, free: 15.12 MB / 430.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.002366/0.15, allocations: 1.14 MB / 0.5627 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.1503, allocations: 67.89 kB / 0.5628 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1503, allocations: 0 / 0.5628 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.1504, allocations: 31.98 kB / 0.5628 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1508, allocations: 19.98 kB / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.1527, allocations: 1.561 MB / 0.5644 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.153, allocations: 0.6961 MB / 0.565 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.579e-05/0.1531, allocations: 28.5 kB / 0.5651 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.1532, allocations: 35.41 kB / 0.5651 GB, free: 11.61 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1532, allocations: 0 / 0.5651 GB, free: 11.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.1798, allocations: 3.578 MB / 0.5686 GB, free: 8.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.398, allocations: 11.86 kB / 0.5686 GB, free: 8.031 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.624263387871906]