Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 110.7 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 191.7 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 227.9 MB, free: 4.359 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.353/0.353, allocations: 43.51 MB / 320.8 MB, free: 8.984 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 83.89 kB / 450.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3294, allocations: 57.77 MB / 0.496 GB, free: 19.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003797/0.3332, allocations: 1.705 MB / 0.4976 GB, free: 18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3348, allocations: 0.8025 MB / 0.4984 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.3349, allocations: 1.062 kB / 0.4984 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.3353, allocations: 37.52 kB / 0.4985 GB, free: 17.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.3356, allocations: 59.91 kB / 0.4985 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.3358, allocations: 81.94 kB / 0.4986 GB, free: 17.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.336, allocations: 97.17 kB / 0.4987 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3361, allocations: 14.09 kB / 0.4987 GB, free: 17.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.899e-05/0.3362, allocations: 43.75 kB / 0.4987 GB, free: 17.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.403e-05/0.3363, allocations: 32.72 kB / 0.4988 GB, free: 17.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.3364, allocations: 7.969 kB / 0.4988 GB, free: 17.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.3365, allocations: 39.3 kB / 0.4988 GB, free: 17.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.3365, allocations: 17.75 kB / 0.4988 GB, free: 17.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.3366, allocations: 38.84 kB / 0.4989 GB, free: 17.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.3368, allocations: 114.4 kB / 0.499 GB, free: 17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3368, allocations: 0 / 0.499 GB, free: 17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3368, allocations: 4 kB / 0.499 GB, free: 17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3368, allocations: 1.156 kB / 0.499 GB, free: 17 MB / 382.1 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.0004579/0.3373, allocations: 397.7 kB / 0.4994 GB, free: 16.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3374, allocations: 14.11 kB / 0.4994 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.3374, allocations: 43.8 kB / 0.4994 GB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.3374, allocations: 8.484 kB / 0.4994 GB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.3377, allocations: 199.5 kB / 0.4996 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3377, allocations: 13.55 kB / 0.4996 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3378, allocations: 6.188 kB / 0.4996 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3379, allocations: 58.55 kB / 0.4997 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.338, allocations: 3.953 kB / 0.4997 GB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.338, allocations: 1.188 kB / 0.4997 GB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.338, allocations: 0 / 0.4997 GB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.921e-05/0.3381, allocations: 18.55 kB / 0.4997 GB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.3384, allocations: 289.4 kB / 0.5 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.3386, allocations: 54.06 kB / 0.5 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.3387, allocations: 25.88 kB / 0.5001 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3387, allocations: 8.984 kB / 0.5001 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.3388, allocations: 64.64 kB / 0.5001 GB, free: 15.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.3389, allocations: 0 / 0.5001 GB, free: 15.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.3394, allocations: 182.3 kB / 0.5003 GB, free: 15.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.3395, allocations: 51.41 kB / 0.5004 GB, free: 15.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.3396, allocations: 172.8 kB / 0.5005 GB, free: 15.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3397, allocations: 26.73 kB / 0.5005 GB, free: 15.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.3397, allocations: 100.7 kB / 0.5006 GB, free: 15.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.3398, allocations: 27.09 kB / 0.5007 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.3398, allocations: 20.34 kB / 0.5007 GB, free: 15.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.3399, allocations: 326 kB / 0.501 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-05/0.3399, allocations: 22.89 kB / 0.501 GB, free: 14.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.092e-05/0.34, allocations: 36.52 kB / 0.5011 GB, free: 14.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.3402, allocations: 58.44 kB / 0.5011 GB, free: 14.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3402, allocations: 0 / 0.5011 GB, free: 14.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001905/0.3404, allocations: 107.5 kB / 0.5012 GB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3404, allocations: 5.438 kB / 0.5012 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3404, allocations: 4.031 kB / 0.5012 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3404, allocations: 1.156 kB / 0.5012 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.3405, allocations: 21.25 kB / 0.5012 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3405, allocations: 1.25 kB / 0.5012 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.3406, allocations: 10.08 kB / 0.5013 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.3406, allocations: 2.375 kB / 0.5013 GB, free: 14.82 MB / 382.1 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 7.398e-05/0.3407, allocations: 118.2 kB / 0.5014 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.3407, allocations: 13.27 kB / 0.5014 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.3408, allocations: 17.98 kB / 0.5014 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3408, allocations: 4 kB / 0.5014 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3408, allocations: 1.312 kB / 0.5014 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3408, allocations: 7.938 kB / 0.5014 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.3412, allocations: 384.4 kB / 0.5018 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3412, allocations: 0 / 0.5018 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.3412, allocations: 7.656 kB / 0.5018 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3412, allocations: 8.984 kB / 0.5018 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3412, allocations: 6.75 kB / 0.5018 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3413, allocations: 7.969 kB / 0.5018 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3413, allocations: 5.25 kB / 0.5018 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.3415, allocations: 200 kB / 0.502 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.3415, allocations: 83.44 kB / 0.5021 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.3416, allocations: 10.31 kB / 0.5021 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.3416, allocations: 6.141 kB / 0.5021 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.3417, allocations: 7.844 kB / 0.5021 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.3417, allocations: 2.375 kB / 0.5021 GB, free: 13.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.789e-05/0.3418, allocations: 139.5 kB / 0.5022 GB, free: 13.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3418, allocations: 1.219 kB / 0.5022 GB, free: 13.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.3421, allocations: 23.66 kB / 0.5023 GB, free: 13.88 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.001943/0.344, allocations: 1.098 MB / 0.5033 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.3442, allocations: 57.89 kB / 0.5034 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.3442, allocations: 4.062 kB / 0.5034 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.152e-05/0.3443, allocations: 37.41 kB / 0.5034 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3447, allocations: 33.55 kB / 0.5035 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.3461, allocations: 1.589 MB / 0.505 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.3463, allocations: 0.7117 MB / 0.5057 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.3463, allocations: 17.33 kB / 0.5057 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.3464, allocations: 31.55 kB / 0.5058 GB, free: 10.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3464, allocations: 0 / 0.5058 GB, free: 10.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.3719, allocations: 3.321 MB / 0.509 GB, free: 8.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.52, allocations: 6.125 kB / 0.509 GB, free: 8.715 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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: 11.37636517197825]