Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001442, allocations: 103.3 kB / 15.98 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 190.6 kB / 16.9 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.1 MB / 222.8 MB, free: 4.453 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3417/0.3417, allocations: 43.5 MB / 313.6 MB, free: 8.625 MB / 254.1 MB 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.001381/0.001381, allocations: 75.89 kB / 382.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1223, allocations: 57.77 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003382/0.1258, allocations: 1.756 MB / 441.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1276, allocations: 1.371 MB / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.1277, allocations: 0 / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.128, allocations: 31.91 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.1283, allocations: 63.69 kB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.1285, allocations: 75.86 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.1287, allocations: 91.75 kB / 443.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1288, allocations: 24.2 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.359e-05/0.1289, allocations: 39.8 kB / 443.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.129, allocations: 39.83 kB / 443.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.129, allocations: 4 kB / 443.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1291, allocations: 63.91 kB / 443.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.1292, allocations: 15.92 kB / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.1292, allocations: 35.78 kB / 443.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1294, allocations: 119.9 kB / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1294, allocations: 0 / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1295, allocations: 4 kB / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1295, allocations: 0 / 443.8 MB, free: 10.87 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.0004879/0.13, allocations: 411 kB / 444.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.13, allocations: 15.83 kB / 444.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.13, allocations: 38.75 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.1301, allocations: 8.844 kB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.1303, allocations: 200.1 kB / 444.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1303, allocations: 8.312 kB / 444.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1303, allocations: 7.938 kB / 444.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1305, allocations: 71.39 kB / 444.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1305, allocations: 3.906 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1306, allocations: 3.984 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1306, allocations: 0 / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.1306, allocations: 27.92 kB / 444.6 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.131, allocations: 280.9 kB / 444.9 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1311, allocations: 54.69 kB / 444.9 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.1312, allocations: 24.84 kB / 445 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.1312, allocations: 0 / 445 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.1314, allocations: 67.33 kB / 445 MB, free: 9.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1314, allocations: 8 kB / 445 MB, free: 9.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005018/0.1319, allocations: 173.2 kB / 445.2 MB, free: 9.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.132, allocations: 81.11 kB / 445.3 MB, free: 9.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1321, allocations: 145.8 kB / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1322, allocations: 33.7 kB / 445.5 MB, free: 9.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.1322, allocations: 100.1 kB / 445.6 MB, free: 8.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.1323, allocations: 27.64 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.1323, allocations: 17.72 kB / 445.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.1324, allocations: 326.8 kB / 445.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.1325, allocations: 23.98 kB / 445.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/0.1325, allocations: 38.56 kB / 446 MB, free: 8.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1326, allocations: 69.72 kB / 446.1 MB, free: 8.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1326, allocations: 0 / 446.1 MB, free: 8.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001696/0.1328, allocations: 97.61 kB / 446.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.1328, allocations: 4 kB / 446.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1328, allocations: 4 kB / 446.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1329, allocations: 0 / 446.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.1329, allocations: 15.94 kB / 446.2 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.133, allocations: 3.984 kB / 446.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.133, allocations: 15.84 kB / 446.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.133, allocations: 4.188 kB / 446.2 MB, free: 8.242 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.867e-05/0.1331, allocations: 113.8 kB / 446.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.1331, allocations: 19.88 kB / 446.3 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.1332, allocations: 12.7 kB / 446.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1332, allocations: 7.938 kB / 446.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1332, allocations: 0 / 446.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1332, allocations: 3.938 kB / 446.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.1336, allocations: 387.3 kB / 446.7 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1336, allocations: 384 / 446.7 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.1337, allocations: 11.98 kB / 446.7 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1337, allocations: 11.91 kB / 446.8 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1337, allocations: 8 kB / 446.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1337, allocations: 0 / 446.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1337, allocations: 0 / 446.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.1339, allocations: 204.3 kB / 447 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.134, allocations: 85.02 kB / 447 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.134, allocations: 15.92 kB / 447.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.1341, allocations: 4 kB / 447.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.1341, allocations: 0 / 447.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1341, allocations: 7.984 kB / 447.1 MB, free: 7.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.684e-05/0.1342, allocations: 119.4 kB / 447.2 MB, free: 7.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1342, allocations: 0 / 447.2 MB, free: 7.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1345, allocations: 31.98 kB / 447.2 MB, free: 7.117 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.001419/0.1359, allocations: 1.137 MB / 448.4 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1361, allocations: 63.91 kB / 448.4 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1361, allocations: 0 / 448.4 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.914e-05/0.1362, allocations: 27.92 kB / 448.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.1365, allocations: 35.83 kB / 448.5 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.138, allocations: 1.562 MB / 450 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1382, allocations: 0.6963 MB / 450.7 MB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.305e-05/0.1383, allocations: 21.33 kB / 450.8 MB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.1384, allocations: 35.42 kB / 450.8 MB, free: 3.438 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1384, allocations: 3.938 kB / 450.8 MB, free: 3.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.1526, allocations: 3.377 MB / 454.2 MB, free: 24 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1776/0.3302, allocations: 235.2 kB / 454.4 MB, free: 50.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.097, allocations: 1.969 kB / 454.4 MB, free: 50.97 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches