Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.0009597/0.0009597, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 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.001473/0.001473, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.9146/0.9146, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2315/0.2315, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 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.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.982e-05, allocations: 2.281 kB / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.165/0.165, allocations: 1.663 MB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.166, allocations: 0.9592 MB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.1661, allocations: 0 / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.1664, allocations: 91.09 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.1667, allocations: 123.4 kB / 445.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.1668, allocations: 73.19 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.1669, allocations: 119.2 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.167, allocations: 3.172 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.501e-05/0.1671, allocations: 62.05 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.1671, allocations: 48.77 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1672, allocations: 5.594 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.1672, allocations: 34.69 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.1673, allocations: 22.3 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.1673, allocations: 22.11 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1675, allocations: 106 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1675, allocations: 0.5625 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1675, allocations: 1.969 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1675, allocations: 0 / 445.6 MB, free: 42.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003548/0.1678, allocations: 352.7 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1679, allocations: 10.66 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.252e-05/0.1679, allocations: 30.75 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.1679, allocations: 22.31 kB / 446 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.1681, allocations: 150.1 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1681, allocations: 3.5 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.1681, allocations: 1.875 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1682, allocations: 53.34 kB / 446.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1682, allocations: 0 / 446.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1682, allocations: 2.906 kB / 446.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1682, allocations: 0 / 446.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.43e-05/0.1683, allocations: 16.09 kB / 446.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.1684, allocations: 156.8 kB / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.1685, allocations: 59.22 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.1685, allocations: 21.12 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1685, allocations: 0 / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.1686, allocations: 72.89 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1686, allocations: 0 / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001775/0.1688, allocations: 99.91 kB / 446.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.1688, allocations: 54.59 kB / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.169, allocations: 221.4 kB / 446.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.511e-06/0.169, allocations: 25.7 kB / 446.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.169, allocations: 107.5 kB / 447 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.169, allocations: 15.59 kB / 447 MB, free: 41.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.169, allocations: 22.92 kB / 447 MB, free: 41.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.626e-05/0.1691, allocations: 324.7 kB / 447.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.1691, allocations: 18.55 kB / 447.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.1691, allocations: 33.02 kB / 447.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.1692, allocations: 47.53 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1692, allocations: 0 / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.102e-05/0.1693, allocations: 89.61 kB / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1693, allocations: 5.062 kB / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1693, allocations: 4.031 kB / 447.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1693, allocations: 2.906 kB / 447.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/0.1693, allocations: 12.31 kB / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1693, allocations: 0 / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.1694, allocations: 10.52 kB / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.1694, allocations: 2.094 kB / 447.6 MB, free: 41.43 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 (7): * Single equations (assignments): 7 * 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 5.001e-05/0.1694, allocations: 133.5 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.1694, allocations: 16.78 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.1696, allocations: 96.98 kB / 447.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1696, allocations: 0 / 447.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1696, allocations: 10.72 kB / 447.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1696, allocations: 0 / 447.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.072e-05/0.1696, allocations: 155.9 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1696, allocations: 5.969 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.1696, allocations: 6.188 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1696, allocations: 5.531 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1696, allocations: 2.844 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1696, allocations: 0 / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1696, allocations: 0 / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.118e-05/0.1697, allocations: 114.4 kB / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.1697, allocations: 20.53 kB / 448.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1698, allocations: 3.5 kB / 448.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.895e-05/0.1698, allocations: 2.969 kB / 448.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.1698, allocations: 5.906 kB / 448.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1698, allocations: 0 / 448.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.825e-05/0.1699, allocations: 175.8 kB / 448.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1699, allocations: 0 / 448.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.17, allocations: 25.14 kB / 448.3 MB, free: 40.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007627/0.1708, allocations: 0.9894 MB / 449.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.1709, allocations: 52.55 kB / 449.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1709, allocations: 0 / 449.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.1709, allocations: 17.52 kB / 449.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.1711, allocations: 28.44 kB / 449.4 MB, free: 40.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008311/0.1719, allocations: 1.587 MB / 451 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.18e-05/0.172, allocations: 104 kB / 451.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.749e-05/0.172, allocations: 17.16 kB / 451.1 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.1721, allocations: 37.19 kB / 451.2 MB, free: 38.88 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1721, allocations: 0 / 451.2 MB, free: 38.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.1876, allocations: 4.092 MB / 455.3 MB, free: 37.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.649/6.837, allocations: 2.969 kB / 455.3 MB, free: 37.51 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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: 8.83238076698035]