Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.001694/0.001694, allocations: 112 kB / 17.13 MB, free: 5.754 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.002086/0.002086, allocations: 192.6 kB / 20.08 MB, free: 2.852 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.575/1.575, allocations: 207.6 MB / 230.5 MB, free: 4.086 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.3897/0.3897, allocations: 44.23 MB / 326.5 MB, free: 6.805 MB / 254.1 MB " [Timeout remaining time 179] 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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",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.00218/0.00218, allocations: 79.89 kB / 462.2 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3232, allocations: 60.99 MB / 0.511 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002889/0.3261, allocations: 1.715 MB / 0.5127 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3272, allocations: 0.7992 MB / 0.5134 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.3273, allocations: 5.531 kB / 0.5134 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.3276, allocations: 40.94 kB / 0.5135 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.3277, allocations: 58.14 kB / 0.5135 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.328, allocations: 84.78 kB / 0.5136 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3281, allocations: 94.89 kB / 0.5137 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.3282, allocations: 16.28 kB / 0.5137 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.3283, allocations: 42.83 kB / 0.5138 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.3284, allocations: 34.56 kB / 0.5138 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3284, allocations: 3.312 kB / 0.5138 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-05/0.3285, allocations: 43.03 kB / 0.5138 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.3286, allocations: 18.75 kB / 0.5139 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.3286, allocations: 34.61 kB / 0.5139 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3288, allocations: 115.5 kB / 0.514 GB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3288, allocations: 3.938 kB / 0.514 GB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3288, allocations: 0 / 0.514 GB, free: 11.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3288, allocations: 1.375 kB / 0.514 GB, free: 11.01 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.000548/0.3294, allocations: 418.2 kB / 0.5144 GB, free: 10.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3294, allocations: 14.55 kB / 0.5144 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.3295, allocations: 30.75 kB / 0.5144 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.3295, allocations: 15 kB / 0.5145 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.3297, allocations: 218.6 kB / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3298, allocations: 2 kB / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3298, allocations: 5.406 kB / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3299, allocations: 53.89 kB / 0.5147 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3299, allocations: 4.938 kB / 0.5147 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.33, allocations: 0 / 0.5147 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.33, allocations: 1.062 kB / 0.5147 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.33, allocations: 19.23 kB / 0.5148 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.3304, allocations: 286.5 kB / 0.515 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.3305, allocations: 54.67 kB / 0.5151 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.3306, allocations: 21.27 kB / 0.5151 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3306, allocations: 1.344 kB / 0.5151 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.3307, allocations: 68.34 kB / 0.5152 GB, free: 9.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3307, allocations: 5.219 kB / 0.5152 GB, free: 9.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005312/0.3313, allocations: 177.5 kB / 0.5153 GB, free: 9.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.3313, allocations: 56.5 kB / 0.5154 GB, free: 9.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.3315, allocations: 193.6 kB / 0.5156 GB, free: 9.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.3315, allocations: 26.89 kB / 0.5156 GB, free: 9.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.3315, allocations: 100.9 kB / 0.5157 GB, free: 9.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.3315, allocations: 19.42 kB / 0.5157 GB, free: 9.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.3316, allocations: 28.58 kB / 0.5157 GB, free: 9.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.3316, allocations: 322.4 kB / 0.5161 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.363e-05/0.3317, allocations: 18.81 kB / 0.5161 GB, free: 8.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.3317, allocations: 40.23 kB / 0.5161 GB, free: 8.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.3318, allocations: 55.02 kB / 0.5162 GB, free: 8.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3318, allocations: 3.938 kB / 0.5162 GB, free: 8.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001638/0.332, allocations: 100.1 kB / 0.5163 GB, free: 8.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.332, allocations: 8.797 kB / 0.5163 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.332, allocations: 0 / 0.5163 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3321, allocations: 9.953 kB / 0.5163 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.3321, allocations: 20.84 kB / 0.5163 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3321, allocations: 5.312 kB / 0.5163 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.3322, allocations: 5.594 kB / 0.5163 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3322, allocations: 6.359 kB / 0.5163 GB, free: 8.809 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.082e-05/0.3323, allocations: 123 kB / 0.5164 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.3323, allocations: 9.453 kB / 0.5164 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.3323, allocations: 17.36 kB / 0.5165 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3323, allocations: 1.031 kB / 0.5165 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3323, allocations: 5.688 kB / 0.5165 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3323, allocations: 3.938 kB / 0.5165 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.3327, allocations: 396.8 kB / 0.5168 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3327, allocations: 1.312 kB / 0.5168 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.3327, allocations: 6.844 kB / 0.5169 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3327, allocations: 5.312 kB / 0.5169 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3327, allocations: 5.359 kB / 0.5169 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3327, allocations: 1.453 kB / 0.5169 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3327, allocations: 3.984 kB / 0.5169 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.3329, allocations: 208.3 kB / 0.5171 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.3329, allocations: 89.14 kB / 0.5172 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.333, allocations: 5.312 kB / 0.5172 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.333, allocations: 9.734 kB / 0.5172 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.3331, allocations: 4.125 kB / 0.5172 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.3331, allocations: 6.75 kB / 0.5172 GB, free: 7.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.3332, allocations: 145.2 kB / 0.5173 GB, free: 7.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3332, allocations: 1.375 kB / 0.5173 GB, free: 7.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.3334, allocations: 19.12 kB / 0.5173 GB, free: 7.855 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.00184/0.3353, allocations: 1.111 MB / 0.5184 GB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.3354, allocations: 56.92 kB / 0.5185 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3354, allocations: 0 / 0.5185 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.3355, allocations: 27.17 kB / 0.5185 GB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.3359, allocations: 37.62 kB / 0.5185 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.3373, allocations: 1.627 MB / 0.5201 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.3374, allocations: 0.7041 MB / 0.5208 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.76e-05/0.3374, allocations: 16.88 kB / 0.5208 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.3375, allocations: 35.42 kB / 0.5209 GB, free: 4.398 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3375, allocations: 3.938 kB / 0.5209 GB, free: 4.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.3626, allocations: 3.388 MB / 0.5242 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.534, allocations: 4.062 kB / 0.5242 GB, free: 0.9219 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.573532850015908]