Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001502/0.001502, allocations: 114.6 kB / 17.13 MB, free: 5.949 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.001319/0.001319, allocations: 191.7 kB / 20.08 MB, free: 3.012 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.537/1.537, allocations: 207.6 MB / 230.4 MB, free: 4.027 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.3449/0.3449, allocations: 44.23 MB / 326.5 MB, free: 6.875 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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.002148/0.002148, allocations: 75.88 kB / 462.2 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3095, allocations: 61 MB / 0.511 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002921/0.3124, allocations: 1.86 MB / 0.5128 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.314, allocations: 0.9056 MB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.3141, allocations: 0 / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.3146, allocations: 258 kB / 0.5139 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.3149, allocations: 180.3 kB / 0.5141 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.3153, allocations: 153.7 kB / 0.5142 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.3155, allocations: 244.6 kB / 0.5145 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3157, allocations: 16.86 kB / 0.5145 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3158, allocations: 133 kB / 0.5146 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.316, allocations: 197.9 kB / 0.5148 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.3161, allocations: 6.875 kB / 0.5148 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3162, allocations: 50.17 kB / 0.5149 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.949e-05/0.3162, allocations: 63.14 kB / 0.5149 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.3163, allocations: 86.55 kB / 0.515 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.3166, allocations: 223.9 kB / 0.5152 GB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3166, allocations: 0 / 0.5152 GB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3166, allocations: 1.375 kB / 0.5152 GB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3166, allocations: 0 / 0.5152 GB, free: 10.16 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006294/0.3173, allocations: 0.5673 MB / 0.5158 GB, free: 9.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3173, allocations: 13.48 kB / 0.5158 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.3173, allocations: 41.48 kB / 0.5158 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.3174, allocations: 33.12 kB / 0.5159 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.3177, allocations: 282.8 kB / 0.5161 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3178, allocations: 3.125 kB / 0.5161 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.3178, allocations: 12.05 kB / 0.5161 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.318, allocations: 97.3 kB / 0.5162 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.318, allocations: 1.344 kB / 0.5162 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.318, allocations: 4 kB / 0.5162 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.318, allocations: 5.312 kB / 0.5162 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.3182, allocations: 40.53 kB / 0.5163 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.3186, allocations: 456.1 kB / 0.5167 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.3189, allocations: 113.3 kB / 0.5168 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.3189, allocations: 41.25 kB / 0.5169 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.319, allocations: 1.219 kB / 0.5169 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.3192, allocations: 113.5 kB / 0.517 GB, free: 8.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.3192, allocations: 0 / 0.517 GB, free: 8.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008333/0.32, allocations: 380.2 kB / 0.5173 GB, free: 8.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3201, allocations: 87.73 kB / 0.5174 GB, free: 8.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.3204, allocations: 482 kB / 0.5179 GB, free: 7.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.3204, allocations: 29.7 kB / 0.5179 GB, free: 7.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.3205, allocations: 164.3 kB / 0.5181 GB, free: 7.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.3205, allocations: 51.58 kB / 0.5181 GB, free: 7.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.3206, allocations: 37.7 kB / 0.5181 GB, free: 7.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.3206, allocations: 346.8 kB / 0.5185 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.3207, allocations: 39.98 kB / 0.5185 GB, free: 7.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.385e-05/0.3208, allocations: 71.41 kB / 0.5186 GB, free: 6.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.321, allocations: 123.5 kB / 0.5187 GB, free: 6.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.321, allocations: 4 kB / 0.5187 GB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002662/0.3213, allocations: 181.4 kB / 0.5189 GB, free: 6.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3213, allocations: 4 kB / 0.5189 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3213, allocations: 12 kB / 0.5189 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3213, allocations: 3.938 kB / 0.5189 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.3214, allocations: 43.92 kB / 0.5189 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3215, allocations: 0 / 0.5189 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.929e-05/0.3215, allocations: 11.98 kB / 0.519 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3215, allocations: 4 kB / 0.519 GB, free: 6.527 MB / 382.1 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000116/0.3217, allocations: 173.7 kB / 0.5191 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.3217, allocations: 31.81 kB / 0.5192 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.146e-05/0.3218, allocations: 38.81 kB / 0.5192 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3218, allocations: 3.938 kB / 0.5192 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3218, allocations: 8 kB / 0.5192 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3218, allocations: 3.984 kB / 0.5192 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.3224, allocations: 0.6281 MB / 0.5198 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3224, allocations: 0 / 0.5198 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.3224, allocations: 16 kB / 0.5198 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3224, allocations: 0 / 0.5198 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3225, allocations: 11.98 kB / 0.5198 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3225, allocations: 4.062 kB / 0.5198 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3225, allocations: 4 kB / 0.5199 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.3228, allocations: 372.1 kB / 0.5202 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.3228, allocations: 104.9 kB / 0.5203 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.3228, allocations: 12 kB / 0.5203 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.323, allocations: 7.984 kB / 0.5203 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.323, allocations: 11.98 kB / 0.5203 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.323, allocations: 8 kB / 0.5203 GB, free: 4.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002444/0.3233, allocations: 359.1 kB / 0.5207 GB, free: 4.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3233, allocations: 0 / 0.5207 GB, free: 4.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003266/0.3236, allocations: 40 kB / 0.5207 GB, free: 4.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.002101/0.3257, allocations: 1.282 MB / 0.522 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.326, allocations: 115.8 kB / 0.5221 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.326, allocations: 0 / 0.5221 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.3261, allocations: 55.91 kB / 0.5221 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.3267, allocations: 61.64 kB / 0.5222 GB, free: 3.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.3292, allocations: 2.741 MB / 0.5249 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3295, allocations: 0.771 MB / 0.5256 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.3296, allocations: 29.92 kB / 0.5257 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.3298, allocations: 95.33 kB / 0.5258 GB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3298, allocations: 4 kB / 0.5258 GB, free: 15.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.3583, allocations: 6.013 MB / 0.5316 GB, free: 9.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.527/8.885, allocations: 0 / 0.5316 GB, free: 9.223 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.849615144077688]