Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.0008286/0.0008286, allocations: 79.69 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.0009613/0.0009613, 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.9129/0.9129, 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.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.2541/0.2541, allocations: 32.8 MB / 293.5 MB, free: 1.219 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 439.7 MB, free: 4.184 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.012e-05, allocations: 5.094 kB / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003161/0.003191, allocations: 1.716 MB / 441.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.004448, allocations: 0.9703 MB / 442.4 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.018e-05/0.004538, allocations: 7.938 kB / 442.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.004846, allocations: 43.75 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.005172, allocations: 95.48 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.005394, allocations: 79.66 kB / 442.6 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.005573, allocations: 107.6 kB / 442.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.005678, allocations: 11.98 kB / 442.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.563e-05/0.005764, allocations: 51.89 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.005838, allocations: 27.86 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.005855, allocations: 4 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-05/0.005953, allocations: 47.91 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.006015, allocations: 23.92 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.006055, allocations: 15.94 kB / 442.9 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.006266, allocations: 127.5 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006269, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.006271, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.006276, allocations: 0 / 443 MB, free: 0.8359 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.0004941/0.00677, allocations: 353.5 kB / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.006817, allocations: 12.03 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.006853, allocations: 34.69 kB / 443.4 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.00689, allocations: 8.891 kB / 443.4 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.007125, allocations: 150.3 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.007137, allocations: 384 / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.007159, allocations: 4.375 kB / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.007312, allocations: 65.91 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.007324, allocations: 0 / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.007334, allocations: 0 / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.007339, allocations: 4 kB / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.849e-05/0.007397, allocations: 23.98 kB / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2048/0.2122, allocations: 255.4 kB / 443.9 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.2125, allocations: 59.34 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.2125, allocations: 20.56 kB / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.2125, allocations: 0.625 kB / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.2127, allocations: 65.17 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.777e-06/0.2127, allocations: 2.156 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.2133, allocations: 190.5 kB / 444.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.2133, allocations: 54.22 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.2134, allocations: 202.4 kB / 444.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.2135, allocations: 33.33 kB / 444.5 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.2135, allocations: 105.2 kB / 444.6 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.2135, allocations: 25.84 kB / 444.6 MB, free: 46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.2136, allocations: 19.06 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.2136, allocations: 329.5 kB / 445 MB, free: 45.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.321e-05/0.2137, allocations: 19.81 kB / 445 MB, free: 45.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.2137, allocations: 38.48 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.277e-05/0.2138, allocations: 67.22 kB / 445.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2138, allocations: 0.7188 kB / 445.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001208/0.2139, allocations: 112.8 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2139, allocations: 2.625 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2139, allocations: 2.781 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2139, allocations: 0 / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.214, allocations: 24.83 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.214, allocations: 3.203 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.2141, allocations: 6.156 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.2141, allocations: 2.719 kB / 445.2 MB, free: 45.59 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.655e-05/0.2142, allocations: 127.8 kB / 445.4 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.2142, allocations: 13.86 kB / 445.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.2143, allocations: 123.6 kB / 445.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2143, allocations: 0 / 445.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2143, allocations: 2.969 kB / 445.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2144, allocations: 0 / 445.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.2147, allocations: 377.8 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2147, allocations: 0 / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.2147, allocations: 11.42 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.2147, allocations: 2.469 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.2147, allocations: 2.344 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2147, allocations: 2.969 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2147, allocations: 0 / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.2148, allocations: 217.2 kB / 446.1 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.2148, allocations: 11.38 kB / 446.1 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2149, allocations: 6.031 kB / 446.1 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.295e-05/0.2149, allocations: 10.69 kB / 446.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.2149, allocations: 6.391 kB / 446.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.215, allocations: 2.969 kB / 446.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.631e-05/0.215, allocations: 152.2 kB / 446.3 MB, free: 44.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.215, allocations: 0 / 446.3 MB, free: 44.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.2152, allocations: 22.83 kB / 446.3 MB, free: 44.89 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.001077/0.2163, allocations: 1.154 MB / 447.5 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.2164, allocations: 57.59 kB / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2164, allocations: 0 / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.22e-05/0.2165, allocations: 33.05 kB / 447.5 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.2167, allocations: 30.88 kB / 447.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.2178, allocations: 1.673 MB / 449.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.448e-05/0.2179, allocations: 88.42 kB / 449.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.474e-05/0.2179, allocations: 21.39 kB / 449.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.218, allocations: 44.06 kB / 449.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.218, allocations: 0 / 449.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.2358, allocations: 4.289 MB / 453.7 MB, free: 41.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/6.924, allocations: 6 kB / 453.7 MB, free: 41.24 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.936116923578084]