Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0009193/0.0009193, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001042/0.001042, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8848/0.8848, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2281/0.2281, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 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.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 442.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.56e-05, allocations: 6.281 kB / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.1645/0.1645, allocations: 1.707 MB / 444 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1656, allocations: 0.996 MB / 445 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.1657, allocations: 3.938 kB / 445 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.1659, allocations: 40.05 kB / 445 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.1661, allocations: 97.23 kB / 445.1 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.1663, allocations: 79.27 kB / 445.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.1664, allocations: 120 kB / 445.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.1665, allocations: 6.812 kB / 445.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.868e-05/0.1665, allocations: 49.84 kB / 445.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.1666, allocations: 41.34 kB / 445.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1666, allocations: 6.375 kB / 445.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1667, allocations: 112.5 kB / 445.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.1668, allocations: 19.14 kB / 445.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.1668, allocations: 27.02 kB / 445.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.167, allocations: 179.6 kB / 445.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.167, allocations: 1.938 kB / 445.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.167, allocations: 2.906 kB / 445.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.167, allocations: 0 / 445.7 MB, free: 42.29 MB / 410.7 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.000391/0.1674, allocations: 353.2 kB / 446.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1674, allocations: 11.84 kB / 446.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.45e-05/0.1675, allocations: 43.91 kB / 446.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1675, allocations: 14.25 kB / 446.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1677, allocations: 144.5 kB / 446.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1677, allocations: 384 / 446.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.1677, allocations: 10.41 kB / 446.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.1678, allocations: 92.92 kB / 446.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.1679, allocations: 3.328 kB / 446.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1679, allocations: 7.688 kB / 446.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1679, allocations: 0 / 446.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.599e-05/0.1679, allocations: 24 kB / 446.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.1681, allocations: 236.7 kB / 446.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.1683, allocations: 71.36 kB / 446.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.1683, allocations: 29 kB / 446.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1683, allocations: 3.938 kB / 446.7 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.1684, allocations: 73.53 kB / 446.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1684, allocations: 0 / 446.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003947/0.1688, allocations: 215.7 kB / 447 MB, free: 41.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.1688, allocations: 79.8 kB / 447.1 MB, free: 41.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.1689, allocations: 174.4 kB / 447.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.169, allocations: 32.14 kB / 447.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.169, allocations: 101.2 kB / 447.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.169, allocations: 31.11 kB / 447.4 MB, free: 41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.169, allocations: 27.42 kB / 447.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.793e-05/0.1691, allocations: 330.5 kB / 447.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.21e-05/0.1691, allocations: 25.36 kB / 447.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.1691, allocations: 84.81 kB / 447.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.675e-05/0.1692, allocations: 83.8 kB / 448 MB, free: 40.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1692, allocations: 2.688 kB / 448 MB, free: 40.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001131/0.1693, allocations: 126.3 kB / 448.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1693, allocations: 5.844 kB / 448.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1694, allocations: 0 / 448.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1694, allocations: 2.906 kB / 448.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.1694, allocations: 24.44 kB / 448.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1694, allocations: 0 / 448.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.1695, allocations: 2.906 kB / 448.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1695, allocations: 10.19 kB / 448.1 MB, free: 40.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 4.978e-05/0.1695, allocations: 131.5 kB / 448.3 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.1695, allocations: 13.62 kB / 448.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.1697, allocations: 140 kB / 448.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1697, allocations: 0 / 448.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1697, allocations: 0 / 448.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1697, allocations: 0 / 448.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.17, allocations: 404.5 kB / 448.8 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.17, allocations: 4.594 kB / 448.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.17, allocations: 11.56 kB / 448.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.17, allocations: 0 / 448.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.17, allocations: 6.688 kB / 448.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.17, allocations: 3.375 kB / 448.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.17, allocations: 3.938 kB / 448.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.1701, allocations: 229.6 kB / 449.1 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.1701, allocations: 13.22 kB / 449.1 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1701, allocations: 9.641 kB / 449.1 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.113e-05/0.1702, allocations: 3.812 kB / 449.1 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.1702, allocations: 16.78 kB / 449.1 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1702, allocations: 6.312 kB / 449.1 MB, free: 39.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.152e-05/0.1703, allocations: 128.5 kB / 449.2 MB, free: 39.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1703, allocations: 3.469 kB / 449.3 MB, free: 39.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000187/0.1705, allocations: 56.09 kB / 449.3 MB, free: 39.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009425/0.1714, allocations: 1.24 MB / 450.5 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.1715, allocations: 77.67 kB / 450.6 MB, free: 39.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1715, allocations: 2.625 kB / 450.6 MB, free: 39.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/0.1716, allocations: 38.03 kB / 450.7 MB, free: 39.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.1718, allocations: 32.42 kB / 450.7 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/0.1726, allocations: 1.697 MB / 452.4 MB, free: 37.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.028e-05/0.1727, allocations: 83.83 kB / 452.5 MB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.1727, allocations: 21.47 kB / 452.5 MB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.1728, allocations: 46.52 kB / 452.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1728, allocations: 3.938 kB / 452.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.1882, allocations: 5.119 MB / 457.7 MB, free: 36.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/7.11, allocations: 0 / 457.7 MB, free: 36.04 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_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: 9.170463900081813]