Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0008148/0.0008148, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008123/0.0008123, allocations: 170 kB / 23.95 MB, free: 0.6094 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.864/0.864, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2264/0.2264, 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.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 442.3 MB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.282e-05, allocations: 6.281 kB / 442.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.16/0.16, allocations: 1.709 MB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1615, allocations: 1.673 MB / 445.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.1616, allocations: 3.469 kB / 445.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.1618, allocations: 38.03 kB / 445.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.1621, allocations: 99.83 kB / 445.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.1622, allocations: 80.22 kB / 445.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.1623, allocations: 111.1 kB / 446 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.1624, allocations: 5.781 kB / 446 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.1625, allocations: 60.81 kB / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.661e-05/0.1626, allocations: 31.95 kB / 446.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1626, allocations: 9.734 kB / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1627, allocations: 102.9 kB / 446.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.1627, allocations: 24.59 kB / 446.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.1628, allocations: 20.62 kB / 446.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.163, allocations: 186.9 kB / 446.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.163, allocations: 0 / 446.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.163, allocations: 0 / 446.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.163, allocations: 0 / 446.4 MB, free: 42.62 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.0003791/0.1633, allocations: 359.6 kB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1634, allocations: 9.562 kB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.164e-05/0.1634, allocations: 37 kB / 446.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.1634, allocations: 11.53 kB / 446.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.1636, allocations: 147.9 kB / 447 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1636, allocations: 384 / 447 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1637, allocations: 10.78 kB / 447 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.1638, allocations: 100.3 kB / 447.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1638, allocations: 0 / 447.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1638, allocations: 3.375 kB / 447.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1638, allocations: 0 / 447.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.833e-05/0.1639, allocations: 25.55 kB / 447.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.1641, allocations: 256.6 kB / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1642, allocations: 59.78 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.1642, allocations: 20.88 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1642, allocations: 0 / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.1644, allocations: 69.67 kB / 447.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.1644, allocations: 0.7188 kB / 447.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003783/0.1647, allocations: 180.8 kB / 447.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.1648, allocations: 80.11 kB / 447.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.1649, allocations: 169.1 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.1649, allocations: 25.7 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.1649, allocations: 105.1 kB / 448 MB, free: 41.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1649, allocations: 14.23 kB / 448.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.1649, allocations: 29.55 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.006e-05/0.165, allocations: 324.6 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.392e-05/0.165, allocations: 25.7 kB / 448.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.165, allocations: 71.66 kB / 448.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.1651, allocations: 61.48 kB / 448.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1651, allocations: 0 / 448.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001087/0.1652, allocations: 106.3 kB / 448.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1652, allocations: 5.031 kB / 448.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1652, allocations: 6.531 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1652, allocations: 0 / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.1653, allocations: 17.59 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.1653, allocations: 6.156 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.577e-05/0.1653, allocations: 10.5 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1654, allocations: 3.594 kB / 448.7 MB, free: 40.67 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 (10): * Single equations (assignments): 10 * 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.83e-05/0.1654, allocations: 127 kB / 448.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.1654, allocations: 9.234 kB / 448.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.1656, allocations: 118.4 kB / 449 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1656, allocations: 0 / 449 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1656, allocations: 2.875 kB / 449 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1656, allocations: 3.938 kB / 449 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.1658, allocations: 371.8 kB / 449.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1658, allocations: 2.906 kB / 449.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/0.1658, allocations: 15.81 kB / 449.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1658, allocations: 0 / 449.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1658, allocations: 10.3 kB / 449.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1658, allocations: 0 / 449.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1658, allocations: 0 / 449.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.166, allocations: 216.9 kB / 449.6 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.166, allocations: 6.797 kB / 449.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.166, allocations: 10.94 kB / 449.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.595e-05/0.166, allocations: 10.08 kB / 449.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.1661, allocations: 6.188 kB / 449.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1661, allocations: 2.938 kB / 449.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.242e-05/0.1661, allocations: 130.1 kB / 449.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1661, allocations: 0 / 449.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000204/0.1663, allocations: 55.14 kB / 449.8 MB, free: 39.86 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 (9): * Single equations (assignments): 7 * 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.001062/0.1674, allocations: 1.242 MB / 451 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1675, allocations: 58.33 kB / 451.1 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1675, allocations: 0 / 451.1 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.1676, allocations: 35.36 kB / 451.1 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.1678, allocations: 26.52 kB / 451.1 MB, free: 39.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000928/0.1687, allocations: 1.628 MB / 452.8 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/0.1688, allocations: 86.25 kB / 452.9 MB, free: 37.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.65e-05/0.1688, allocations: 15.39 kB / 452.9 MB, free: 37.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.1688, allocations: 38.52 kB / 452.9 MB, free: 37.55 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1689, allocations: 0 / 452.9 MB, free: 37.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.184, allocations: 4.895 MB / 457.8 MB, free: 36.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.757/6.941, allocations: 9.281 kB / 457.8 MB, free: 36 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.818757473491132]