Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.0009934/0.0009934, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001019/0.001019, allocations: 170 kB / 23.95 MB, free: 0.6133 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.932/0.932, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.153e-05, allocations: 6.219 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002183/0.002204, allocations: 1.719 MB / 441.4 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003408, allocations: 0.9703 MB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.003479, allocations: 4 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.003748, allocations: 51.75 kB / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.003999, allocations: 103.5 kB / 442.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.004139, allocations: 75.61 kB / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.004294, allocations: 107.7 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.004388, allocations: 4 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.004469, allocations: 59.78 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.004539, allocations: 31.89 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.004554, allocations: 4 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.004628, allocations: 43.92 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.004688, allocations: 35.84 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.004726, allocations: 19.88 kB / 442.9 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.004907, allocations: 135.5 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.00491, allocations: 0 / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.004911, allocations: 0 / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.004914, allocations: 0 / 443 MB, free: 0.7852 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.0004394/0.005354, allocations: 385.2 kB / 443.4 MB, free: 388 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.00539, allocations: 12.03 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.757e-05/0.005417, allocations: 38.69 kB / 443.4 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.00545, allocations: 12.84 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.005645, allocations: 158.5 kB / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.005655, allocations: 384 / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.005672, allocations: 4.375 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.005784, allocations: 57.98 kB / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.005792, allocations: 0 / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.0058, allocations: 0 / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005805, allocations: 4 kB / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.005854, allocations: 23.92 kB / 443.7 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1631/0.169, allocations: 268 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1691, allocations: 55.23 kB / 444 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.1692, allocations: 20.19 kB / 444 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.1692, allocations: 1.078 kB / 444 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.1693, allocations: 79.28 kB / 444.1 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.1693, allocations: 0 / 444.1 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004117/0.1697, allocations: 193.6 kB / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.1697, allocations: 55.97 kB / 444.4 MB, free: 46.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1699, allocations: 276 kB / 444.6 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.1699, allocations: 29.02 kB / 444.7 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.1699, allocations: 113.5 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1699, allocations: 23.17 kB / 444.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.17, allocations: 21.38 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.167e-05/0.17, allocations: 331 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.814e-05/0.1701, allocations: 22.48 kB / 445.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.99e-05/0.1701, allocations: 38.31 kB / 445.2 MB, free: 45.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.919e-05/0.1702, allocations: 65.56 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1702, allocations: 0 / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001094/0.1703, allocations: 112 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1703, allocations: 5.75 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1703, allocations: 0 / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1703, allocations: 1.531 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.1704, allocations: 19.2 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1704, allocations: 5.891 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.152e-05/0.1704, allocations: 3.312 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1704, allocations: 4.781 kB / 445.4 MB, free: 45.54 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 6.209e-05/0.1705, allocations: 140.6 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.1705, allocations: 25.14 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.1707, allocations: 127.4 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1707, allocations: 0.5938 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1707, allocations: 6.781 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1707, allocations: 0 / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.1709, allocations: 385 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1709, allocations: 3 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.1709, allocations: 16.11 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1709, allocations: 2.625 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.171, allocations: 6.719 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.171, allocations: 0 / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.171, allocations: 0 / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.1711, allocations: 221.8 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.1711, allocations: 16.95 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.1711, allocations: 4 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.105e-05/0.1711, allocations: 2.875 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.1712, allocations: 5.984 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1712, allocations: 5.625 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.78e-05/0.1713, allocations: 210.5 kB / 446.6 MB, free: 44.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1713, allocations: 0 / 446.6 MB, free: 44.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.1714, allocations: 27.56 kB / 446.6 MB, free: 44.76 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.0008958/0.1723, allocations: 1.15 MB / 447.7 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1725, allocations: 57.72 kB / 447.8 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1725, allocations: 0 / 447.8 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.1725, allocations: 35.59 kB / 447.8 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.1728, allocations: 26.41 kB / 447.9 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1739, allocations: 1.853 MB / 449.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.609e-05/0.174, allocations: 105.1 kB / 449.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.128e-05/0.174, allocations: 24.44 kB / 449.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.1741, allocations: 41.73 kB / 449.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1741, allocations: 2.516 kB / 449.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.191, allocations: 4.629 MB / 454.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/6.776, allocations: 11.09 kB / 454.5 MB, free: 41.01 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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: 8.782923007383943]