Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001824/0.001824, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.002489/0.002489, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.581/1.581, 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.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.2525/0.2525, allocations: 46.92 MB / 357.8 MB, free: 10.33 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 68.12 kB / 0.4916 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.15, allocations: 65.99 MB / 0.5561 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002947/0.1529, allocations: 1.606 MB / 0.5576 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1539, allocations: 0.53 MB / 0.5582 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.154, allocations: 0 / 0.5582 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.1542, allocations: 27.78 kB / 0.5582 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.1544, allocations: 75.69 kB / 0.5583 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.1547, allocations: 87.7 kB / 0.5583 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1548, allocations: 71.77 kB / 0.5584 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.1549, allocations: 15.92 kB / 0.5584 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.635e-05/0.155, allocations: 23.92 kB / 0.5584 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.1551, allocations: 23.86 kB / 0.5585 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1551, allocations: 0 / 0.5585 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.515e-05/0.1552, allocations: 35.92 kB / 0.5585 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.1552, allocations: 15.92 kB / 0.5585 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.1552, allocations: 23.81 kB / 0.5585 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1554, allocations: 79.66 kB / 0.5586 GB, free: 3.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1554, allocations: 0 / 0.5586 GB, free: 3.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1554, allocations: 0 / 0.5586 GB, free: 3.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1554, allocations: 0 / 0.5586 GB, free: 3.223 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.0005046/0.1559, allocations: 391 kB / 0.559 GB, free: 2.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.156, allocations: 8.031 kB / 0.559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.967e-05/0.156, allocations: 4.188 kB / 0.559 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.896e-05/0.156, allocations: 38.69 kB / 0.559 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.156, allocations: 12.83 kB / 0.5591 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.1562, allocations: 188.2 kB / 0.5592 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1562, allocations: 4.375 kB / 0.5592 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.1563, allocations: 8.125 kB / 0.5592 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.1564, allocations: 45.69 kB / 0.5593 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1564, allocations: 0 / 0.5593 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1564, allocations: 4 kB / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1564, allocations: 0 / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.964e-05/0.1565, allocations: 23.97 kB / 0.5593 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.1569, allocations: 272.8 kB / 0.5596 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.1571, allocations: 50.55 kB / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.1571, allocations: 12.86 kB / 0.5596 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1572, allocations: 0 / 0.5596 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1572, allocations: 34.56 kB / 0.5597 GB, free: 1.977 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1572, allocations: 0 / 0.5597 GB, free: 1.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005674/0.1578, allocations: 145.5 kB / 0.5598 GB, free: 1.828 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.1578, allocations: 55.41 kB / 0.5599 GB, free: 1.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.158, allocations: 143.7 kB / 0.56 GB, free: 1.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.158, allocations: 25.7 kB / 0.56 GB, free: 1.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.1581, allocations: 104.1 kB / 0.5601 GB, free: 1.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.1581, allocations: 15.86 kB / 0.5601 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.1581, allocations: 25.64 kB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1583, allocations: 318.8 kB / 0.5605 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-05/0.1584, allocations: 23.98 kB / 0.5605 GB, free: 1.082 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.1584, allocations: 15.98 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1586, allocations: 48.83 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1586, allocations: 0 / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002056/0.1588, allocations: 81.55 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1588, allocations: 8 kB / 0.5606 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1588, allocations: 4 kB / 0.5606 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1588, allocations: 0 / 0.5606 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.1589, allocations: 12.19 kB / 0.5607 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1589, allocations: 4 kB / 0.5607 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.159, allocations: 15.86 kB / 0.5607 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.159, allocations: 11.98 kB / 0.5607 GB, free: 0.875 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.0001097/0.1591, allocations: 116 kB / 0.5608 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.1591, allocations: 7.953 kB / 0.5608 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.1594, allocations: 93.95 kB / 0.5609 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1594, allocations: 0 / 0.5609 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1594, allocations: 0 / 0.5609 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1594, allocations: 3.938 kB / 0.5609 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.1599, allocations: 346.5 kB / 0.5612 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1599, allocations: 0 / 0.5612 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.1599, allocations: 15.98 kB / 0.5612 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1599, allocations: 4 kB / 0.5612 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1599, allocations: 4.219 kB / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1599, allocations: 0 / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1599, allocations: 0 / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.1602, allocations: 179.4 kB / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.1603, allocations: 89.05 kB / 0.5615 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1603, allocations: 3.938 kB / 0.5615 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1604, allocations: 11.98 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.1604, allocations: 4 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.1604, allocations: 4 kB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1605, allocations: 112.8 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1605, allocations: 0 / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1608, allocations: 19.94 kB / 0.5617 GB, free: 15.77 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 (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.002025/0.1628, allocations: 1.019 MB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.163, allocations: 47.91 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.163, allocations: 0 / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.1631, allocations: 19.98 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1635, allocations: 34.2 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.1653, allocations: 1.437 MB / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.1657, allocations: 0.6885 MB / 0.5648 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.521e-05/0.1657, allocations: 23.84 kB / 0.5648 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.1658, allocations: 19.44 kB / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1658, allocations: 0 / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.184, allocations: 2.602 MB / 0.5674 GB, free: 9.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/8.589, allocations: 0 / 0.5674 GB, free: 9.977 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.893270750006195]