Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001988/0.001988, allocations: 132.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2397/0.2397, allocations: 46.92 MB / 357 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 83.88 kB / 0.491 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1472, allocations: 66.05 MB / 0.5555 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003495/0.1507, allocations: 1.607 MB / 0.5571 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1528, allocations: 1.179 MB / 0.5582 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.1528, allocations: 3.938 kB / 0.5582 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.1531, allocations: 19.86 kB / 0.5582 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.1534, allocations: 87.61 kB / 0.5583 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.1538, allocations: 113.8 kB / 0.5584 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.154, allocations: 67.77 kB / 0.5585 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1541, allocations: 15.98 kB / 0.5585 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.27e-05/0.1541, allocations: 23.86 kB / 0.5585 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.1543, allocations: 35.84 kB / 0.5586 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.1544, allocations: 4 kB / 0.5586 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.1546, allocations: 99.86 kB / 0.5587 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.1547, allocations: 15.94 kB / 0.5587 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.1547, allocations: 23.8 kB / 0.5587 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.1551, allocations: 143.5 kB / 0.5588 GB, free: 2.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1551, allocations: 0 / 0.5588 GB, free: 2.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1551, allocations: 0 / 0.5588 GB, free: 2.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1551, allocations: 0 / 0.5588 GB, free: 2.078 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.0006413/0.1557, allocations: 414.7 kB / 0.5592 GB, free: 1.621 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.1558, allocations: 8.031 kB / 0.5592 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.316e-05/0.1558, allocations: 30.75 kB / 0.5593 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.1559, allocations: 8.891 kB / 0.5593 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.1561, allocations: 192.2 kB / 0.5595 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1562, allocations: 12.38 kB / 0.5595 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1562, allocations: 384 / 0.5595 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.1564, allocations: 63.95 kB / 0.5595 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1564, allocations: 7.938 kB / 0.5595 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1564, allocations: 0 / 0.5595 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1564, allocations: 0 / 0.5595 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1565, allocations: 23.92 kB / 0.5596 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.1571, allocations: 284.9 kB / 0.5598 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.1573, allocations: 54.48 kB / 0.5599 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.1574, allocations: 12.86 kB / 0.5599 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1574, allocations: 0 / 0.5599 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.1575, allocations: 42.58 kB / 0.5599 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.1575, allocations: 4 kB / 0.5599 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007528/0.1582, allocations: 153.4 kB / 0.5601 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.1583, allocations: 77.11 kB / 0.5602 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.1585, allocations: 143.5 kB / 0.5603 GB, free: 372 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1585, allocations: 25.7 kB / 0.5603 GB, free: 340 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.1586, allocations: 92.14 kB / 0.5604 GB, free: 244 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.1586, allocations: 31.78 kB / 0.5604 GB, free: 212 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.1587, allocations: 17.72 kB / 0.5605 GB, free: 188 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1589, allocations: 322.8 kB / 0.5608 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.784e-05/0.159, allocations: 23.92 kB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.393e-05/0.1591, allocations: 37.77 kB / 0.5608 GB, free: 15.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.1592, allocations: 60.84 kB / 0.5609 GB, free: 15.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1592, allocations: 0 / 0.5609 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002323/0.1595, allocations: 81.56 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1595, allocations: 8 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1595, allocations: 0 / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1595, allocations: 0 / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.1596, allocations: 15.98 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1596, allocations: 0 / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.1596, allocations: 11.98 kB / 0.561 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.1596, allocations: 4 kB / 0.561 GB, free: 15.61 MB / 430.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.0001128/0.1598, allocations: 117.8 kB / 0.5611 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.1598, allocations: 7.953 kB / 0.5611 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.1601, allocations: 97.89 kB / 0.5612 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1601, allocations: 4 kB / 0.5612 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1601, allocations: 0 / 0.5612 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1601, allocations: 0 / 0.5612 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.1606, allocations: 358.5 kB / 0.5616 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1606, allocations: 0 / 0.5616 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.515e-05/0.1607, allocations: 16.3 kB / 0.5616 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1607, allocations: 4 kB / 0.5616 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1607, allocations: 3.938 kB / 0.5616 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1607, allocations: 4 kB / 0.5616 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1607, allocations: 3.938 kB / 0.5616 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.161, allocations: 183.8 kB / 0.5618 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.161, allocations: 81.06 kB / 0.5618 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.161, allocations: 7.984 kB / 0.5618 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.1611, allocations: 7.984 kB / 0.5618 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.1612, allocations: 11.88 kB / 0.5619 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1612, allocations: 0 / 0.5619 GB, free: 14.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1613, allocations: 117.3 kB / 0.562 GB, free: 14.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1613, allocations: 4 kB / 0.562 GB, free: 14.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000298/0.1616, allocations: 39.81 kB / 0.562 GB, free: 14.45 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.002304/0.1639, allocations: 1.093 MB / 0.5631 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.1641, allocations: 55.95 kB / 0.5631 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1642, allocations: 0 / 0.5631 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/0.1642, allocations: 27.92 kB / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.1646, allocations: 23.86 kB / 0.5632 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.1666, allocations: 1.436 MB / 0.5646 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.167, allocations: 0.6963 MB / 0.5653 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.465e-05/0.1671, allocations: 24.19 kB / 0.5653 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.1672, allocations: 27.42 kB / 0.5653 GB, free: 11.1 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1672, allocations: 0 / 0.5653 GB, free: 11.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.195, allocations: 3.266 MB / 0.5685 GB, free: 7.844 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.08, allocations: 3.984 kB / 0.5685 GB, free: 7.84 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.432713340036571]