Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001227/0.001227, 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.001244/0.001244, 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.9229/0.9229, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2826/0.2826, allocations: 32.79 MB / 293.5 MB, free: 1.227 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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.172e-05, allocations: 2.281 kB / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002349/0.002371, allocations: 1.788 MB / 441.4 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.003596, allocations: 1.056 MB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.003668, allocations: 4 kB / 442.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.004043, allocations: 299.1 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.004394, allocations: 251.1 kB / 443 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.004572, allocations: 107.6 kB / 443.2 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.004823, allocations: 279.2 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.004873, allocations: 5.812 kB / 443.4 MB, free: 392 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.005025, allocations: 151.6 kB / 443.6 MB, free: 240 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.005206, allocations: 204.1 kB / 443.8 MB, free: 36 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.005228, allocations: 8 kB / 443.8 MB, free: 28 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1998/0.205, allocations: 45.91 kB / 443.8 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.2052, allocations: 134.2 kB / 444 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.568e-05/0.2052, allocations: 72.77 kB / 444 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.2056, allocations: 350.4 kB / 444.4 MB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2056, allocations: 0 / 444.4 MB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2056, allocations: 1.75 kB / 444.4 MB, free: 43.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2056, allocations: 0 / 444.4 MB, free: 43.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005491/0.2062, allocations: 0.6726 MB / 445 MB, free: 43.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2062, allocations: 8.844 kB / 445.1 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.351e-05/0.2062, allocations: 38.84 kB / 445.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.2063, allocations: 48.3 kB / 445.1 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.2066, allocations: 383.9 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2067, allocations: 7.594 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2067, allocations: 6.469 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.2068, allocations: 81.2 kB / 445.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2068, allocations: 0 / 445.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2068, allocations: 10.72 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2068, allocations: 0 / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.175e-05/0.2069, allocations: 38.58 kB / 445.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.2071, allocations: 323.1 kB / 446 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.2073, allocations: 107.4 kB / 446.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.2073, allocations: 42.98 kB / 446.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.2073, allocations: 2.812 kB / 446.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.2075, allocations: 112 kB / 446.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 8.41e-07/0.2075, allocations: 1.719 kB / 446.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002803/0.2077, allocations: 220.6 kB / 446.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.2078, allocations: 80.08 kB / 446.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006095/0.2084, allocations: 1.034 MB / 447.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.2084, allocations: 28.58 kB / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.2085, allocations: 235.8 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.2085, allocations: 27.69 kB / 447.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.2085, allocations: 27.56 kB / 447.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.764e-05/0.2086, allocations: 374.7 kB / 448.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.2086, allocations: 30.55 kB / 448.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.2087, allocations: 57.03 kB / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.806e-05/0.2088, allocations: 93.27 kB / 448.4 MB, free: 41.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2088, allocations: 0 / 448.4 MB, free: 41.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001677/0.209, allocations: 180.8 kB / 448.6 MB, free: 41.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.209, allocations: 11.53 kB / 448.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.209, allocations: 6.75 kB / 448.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.209, allocations: 2.938 kB / 448.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.2091, allocations: 22.73 kB / 448.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2091, allocations: 0 / 448.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.2091, allocations: 11.22 kB / 448.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.2091, allocations: 6.062 kB / 448.7 MB, free: 41.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001228/0.2093, allocations: 223.5 kB / 448.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.2093, allocations: 55 kB / 448.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.2095, allocations: 210 kB / 449.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2095, allocations: 0 / 449.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2095, allocations: 0 / 449.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2095, allocations: 6.188 kB / 449.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.2097, allocations: 290.3 kB / 449.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2097, allocations: 2.656 kB / 449.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.2097, allocations: 12.05 kB / 449.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2097, allocations: 4.062 kB / 449.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2098, allocations: 10.84 kB / 449.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2098, allocations: 5.078 kB / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2098, allocations: 2.781 kB / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.2099, allocations: 221.8 kB / 449.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.21, allocations: 62.94 kB / 449.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.21, allocations: 3.938 kB / 449.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.2101, allocations: 10.11 kB / 449.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.2101, allocations: 11.02 kB / 449.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.2101, allocations: 5.75 kB / 449.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004281/0.2105, allocations: 0.7755 MB / 450.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2105, allocations: 0 / 450.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.2107, allocations: 40.97 kB / 450.6 MB, free: 41.02 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009565/0.2117, allocations: 1.093 MB / 451.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.2118, allocations: 85.33 kB / 451.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2118, allocations: 0 / 451.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.722e-05/0.2119, allocations: 51.31 kB / 451.8 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.0002669/0.2122, allocations: 71.39 kB / 451.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.2154, allocations: 4.533 MB / 456.4 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.2155, allocations: 241.5 kB / 456.6 MB, free: 38.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.409e-05/0.2156, allocations: 67.33 kB / 456.7 MB, free: 38.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.2157, allocations: 148.5 kB / 456.9 MB, free: 37.95 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2157, allocations: 0 / 456.9 MB, free: 37.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.2357, allocations: 9.977 MB / 466.8 MB, free: 35.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.708/6.943, allocations: 7.875 kB / 466.8 MB, free: 35.98 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.051513290032744]