Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001333/0.001333, allocations: 120.1 kB / 18.49 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.001482/0.001482, allocations: 215 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.582/1.582, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.2648/0.2648, allocations: 46.92 MB / 357.8 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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 59.91 kB / 0.4916 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1485, allocations: 65.99 MB / 0.5561 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003212/0.1517, allocations: 1.593 MB / 0.5576 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1528, allocations: 0.5533 MB / 0.5582 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.1528, allocations: 0 / 0.5582 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.1531, allocations: 23.8 kB / 0.5582 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.1533, allocations: 79.67 kB / 0.5583 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1536, allocations: 107.7 kB / 0.5584 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1538, allocations: 71.77 kB / 0.5584 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.1539, allocations: 4 kB / 0.5585 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.154, allocations: 23.92 kB / 0.5585 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.154, allocations: 23.84 kB / 0.5585 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.154, allocations: 4 kB / 0.5585 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.814e-05/0.1541, allocations: 32 kB / 0.5585 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.1542, allocations: 19.86 kB / 0.5585 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.1542, allocations: 23.81 kB / 0.5586 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1544, allocations: 87.64 kB / 0.5587 GB, free: 3.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1544, allocations: 4 kB / 0.5587 GB, free: 3.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1544, allocations: 3.938 kB / 0.5587 GB, free: 3.172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.1544, allocations: 0 / 0.5587 GB, free: 3.172 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.0005147/0.1549, allocations: 379 kB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.155, allocations: 11.97 kB / 0.559 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.974e-05/0.155, allocations: 12.17 kB / 0.559 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.155, allocations: 30.75 kB / 0.5591 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.1551, allocations: 12.89 kB / 0.5591 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1553, allocations: 188.2 kB / 0.5593 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1553, allocations: 4.359 kB / 0.5593 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.1553, allocations: 8.125 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1555, allocations: 49.67 kB / 0.5593 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1555, allocations: 4 kB / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1555, allocations: 0 / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1555, allocations: 0 / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1556, allocations: 23.97 kB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.156, allocations: 292.8 kB / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.1563, allocations: 38.56 kB / 0.5597 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.1563, allocations: 20.94 kB / 0.5597 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1563, allocations: 0 / 0.5597 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1564, allocations: 38.56 kB / 0.5597 GB, free: 1.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1564, allocations: 0 / 0.5597 GB, free: 1.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006839/0.1571, allocations: 149.4 kB / 0.5599 GB, free: 1.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1571, allocations: 51.41 kB / 0.5599 GB, free: 1.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1573, allocations: 155.5 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1573, allocations: 25.7 kB / 0.5601 GB, free: 1.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.1574, allocations: 100.1 kB / 0.5602 GB, free: 1.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1574, allocations: 15.84 kB / 0.5602 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.1574, allocations: 17.72 kB / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1576, allocations: 326.8 kB / 0.5605 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/0.1577, allocations: 19.98 kB / 0.5606 GB, free: 1.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.1578, allocations: 23.92 kB / 0.5606 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.1579, allocations: 52.83 kB / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1579, allocations: 4 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002048/0.1581, allocations: 85.8 kB / 0.5607 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1581, allocations: 4 kB / 0.5607 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.1581, allocations: 4.062 kB / 0.5607 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1582, allocations: 4 kB / 0.5607 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.1582, allocations: 15.92 kB / 0.5607 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1582, allocations: 0 / 0.5607 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.1583, allocations: 15.88 kB / 0.5608 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1583, allocations: 3.984 kB / 0.5608 GB, free: 0.793 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.721e-05/0.1584, allocations: 120 kB / 0.5609 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.1584, allocations: 7.891 kB / 0.5609 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.1587, allocations: 97.95 kB / 0.561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1587, allocations: 0 / 0.561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1587, allocations: 0 / 0.561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1587, allocations: 11.94 kB / 0.561 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.1592, allocations: 350.5 kB / 0.5613 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1592, allocations: 0 / 0.5613 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.1592, allocations: 11.98 kB / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1592, allocations: 0 / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1593, allocations: 11.94 kB / 0.5613 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1593, allocations: 0 / 0.5613 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1593, allocations: 0 / 0.5613 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.1595, allocations: 187.4 kB / 0.5615 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.1596, allocations: 81.06 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1596, allocations: 3.938 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.1597, allocations: 7.984 kB / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1597, allocations: 8.188 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1597, allocations: 4 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1598, allocations: 121 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1598, allocations: 0 / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1601, allocations: 19.94 kB / 0.5618 GB, free: 15.66 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.002098/0.1622, allocations: 1.023 MB / 0.5628 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.1624, allocations: 55.84 kB / 0.5628 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1624, allocations: 0 / 0.5628 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.1625, allocations: 27.97 kB / 0.5628 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1629, allocations: 26.05 kB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.1649, allocations: 1.464 MB / 0.5643 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1652, allocations: 0.6963 MB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.825e-05/0.1653, allocations: 15.77 kB / 0.565 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.1654, allocations: 23.44 kB / 0.565 GB, free: 12.37 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1654, allocations: 4 kB / 0.565 GB, free: 12.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.1844, allocations: 2.614 MB / 0.5676 GB, free: 9.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.296/8.48, allocations: 11.03 kB / 0.5676 GB, free: 9.797 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.83237940701656]