Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",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.0008068/0.0008069, allocations: 103.3 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009514/0.0009511, allocations: 181 kB / 16.92 MB, free: 6.922 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.349/1.349, allocations: 205.4 MB / 223.1 MB, free: 5.766 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.3431/0.3431, allocations: 43.57 MB / 315 MB, free: 8.684 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.0005104/0.0005105, allocations: 12 kB / 384.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 58.87 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002119/0.1223, allocations: 1.418 MB / 445 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1238, allocations: 0.7769 MB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.636e-05/0.1239, allocations: 0 / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1243, allocations: 31.89 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.1245, allocations: 39.84 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.1248, allocations: 79.84 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.125, allocations: 91.69 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1252, allocations: 16.22 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1253, allocations: 39.73 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.1254, allocations: 31.83 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1254, allocations: 4 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1256, allocations: 39.98 kB / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.1256, allocations: 15.94 kB / 446.1 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.1257, allocations: 57.38 kB / 446.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.126, allocations: 104 kB / 446.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.126, allocations: 0 / 446.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.126, allocations: 4 kB / 446.3 MB, free: 9.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.126, allocations: 0 / 446.3 MB, free: 9.793 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.0005602/0.1266, allocations: 403 kB / 446.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1266, allocations: 11.97 kB / 446.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.1267, allocations: 34.75 kB / 446.7 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.1267, allocations: 12.84 kB / 446.7 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.127, allocations: 204.1 kB / 446.9 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.127, allocations: 384 / 446.9 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.127, allocations: 11.94 kB / 447 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1272, allocations: 57.61 kB / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1272, allocations: 0 / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1272, allocations: 4 kB / 447 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1272, allocations: 4 kB / 447 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.581e-05/0.1273, allocations: 15.98 kB / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1277, allocations: 280.9 kB / 447.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1279, allocations: 58.62 kB / 447.4 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.128, allocations: 20.84 kB / 447.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.128, allocations: 7.984 kB / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.1282, allocations: 63.39 kB / 447.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1282, allocations: 0 / 447.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005807/0.1288, allocations: 181.5 kB / 447.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.1289, allocations: 51.41 kB / 447.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.129, allocations: 174.2 kB / 447.9 MB, free: 8.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1291, allocations: 25.7 kB / 447.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.1291, allocations: 100.1 kB / 448 MB, free: 7.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.1292, allocations: 27.64 kB / 448 MB, free: 7.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.1292, allocations: 17.72 kB / 448 MB, free: 7.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1293, allocations: 326.8 kB / 448.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.1294, allocations: 19.98 kB / 448.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.1295, allocations: 37.66 kB / 448.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1296, allocations: 57.7 kB / 448.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1296, allocations: 0 / 448.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001836/0.1298, allocations: 101.6 kB / 448.5 MB, free: 7.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1298, allocations: 4 kB / 448.6 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1298, allocations: 4 kB / 448.6 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1299, allocations: 4.031 kB / 448.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.1299, allocations: 20 kB / 448.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.13, allocations: 0 / 448.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.13, allocations: 7.922 kB / 448.6 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.13, allocations: 4.188 kB / 448.6 MB, free: 7.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 9.736e-05/0.1301, allocations: 125.8 kB / 448.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.1302, allocations: 15.75 kB / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.1302, allocations: 20.7 kB / 448.8 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1302, allocations: 4 kB / 448.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1302, allocations: 0 / 448.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1302, allocations: 3.938 kB / 448.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.1307, allocations: 387.5 kB / 449.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1307, allocations: 0 / 449.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.1307, allocations: 8 kB / 449.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1307, allocations: 7.938 kB / 449.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1308, allocations: 7.984 kB / 449.2 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1308, allocations: 4.031 kB / 449.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1308, allocations: 0 / 449.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.131, allocations: 200.2 kB / 449.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.1311, allocations: 92.92 kB / 449.5 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1311, allocations: 11.92 kB / 449.5 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.1312, allocations: 0 / 449.5 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.1312, allocations: 12 kB / 449.5 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.1312, allocations: 7.984 kB / 449.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.993e-05/0.1313, allocations: 131.9 kB / 449.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1313, allocations: 0 / 449.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1316, allocations: 20 kB / 449.6 MB, free: 6.102 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.001498/0.1331, allocations: 1.111 MB / 450.7 MB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1333, allocations: 47.98 kB / 450.8 MB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1333, allocations: 8.062 kB / 450.8 MB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.1334, allocations: 35.86 kB / 450.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1338, allocations: 27.97 kB / 450.9 MB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1354, allocations: 1.633 MB / 452.5 MB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1356, allocations: 0.7041 MB / 453.2 MB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.966e-05/0.1357, allocations: 16.86 kB / 453.2 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.1358, allocations: 35.42 kB / 453.2 MB, free: 2.375 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1358, allocations: 0 / 453.2 MB, free: 2.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.742/0.8778, allocations: 2.855 MB / 456.1 MB, free: 45.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.878, allocations: 237.1 kB / 456.3 MB, free: 45.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.77, allocations: 0 / 456.3 MB, free: 45.57 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches