Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",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.0009523/0.0009526, allocations: 102.6 kB / 16.02 MB, free: 76 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.001167/0.001167, allocations: 180.7 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.5/1.5, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.3689/0.3689, allocations: 43.59 MB / 315 MB, free: 9.047 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.0006038/0.0006039, allocations: 20.5 kB / 384.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1204, allocations: 58.86 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002079/0.1225, allocations: 1.414 MB / 445 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1237, allocations: 0.773 MB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.1238, allocations: 4 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.1241, allocations: 55.8 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.1243, allocations: 51.81 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1245, allocations: 75.84 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1247, allocations: 99.69 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1248, allocations: 16.22 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.1249, allocations: 39.8 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.125, allocations: 39.7 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.125, allocations: 0 / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.9e-05/0.1251, allocations: 39.98 kB / 446.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.1251, allocations: 27.86 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.1252, allocations: 69.36 kB / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.1254, allocations: 119.9 kB / 446.4 MB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1254, allocations: 4 kB / 446.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1254, allocations: 3.938 kB / 446.4 MB, free: 9.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1254, allocations: 4 kB / 446.4 MB, free: 9.945 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.0005238/0.126, allocations: 422.8 kB / 446.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.126, allocations: 12.03 kB / 446.8 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.1261, allocations: 30.75 kB / 446.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.1261, allocations: 16.75 kB / 446.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.1263, allocations: 219.7 kB / 447.1 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1263, allocations: 384 / 447.1 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1264, allocations: 7.938 kB / 447.1 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1265, allocations: 61.67 kB / 447.1 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1265, allocations: 0 / 447.1 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1266, allocations: 0 / 447.1 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1266, allocations: 3.938 kB / 447.1 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.1266, allocations: 19.98 kB / 447.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.127, allocations: 296.9 kB / 447.4 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1272, allocations: 58.67 kB / 447.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.1272, allocations: 24.8 kB / 447.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1273, allocations: 0 / 447.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.1274, allocations: 63.39 kB / 447.6 MB, free: 8.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.825e-06/0.1274, allocations: 3.984 kB / 447.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005348/0.128, allocations: 185 kB / 447.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.128, allocations: 59.34 kB / 447.8 MB, free: 8.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.1283, allocations: 259.7 kB / 448.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1283, allocations: 33.7 kB / 448.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.1284, allocations: 112.1 kB / 448.2 MB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.1284, allocations: 27.62 kB / 448.3 MB, free: 7.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.1285, allocations: 13.72 kB / 448.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1286, allocations: 326.8 kB / 448.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.1286, allocations: 23.98 kB / 448.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/0.1287, allocations: 41.64 kB / 448.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1288, allocations: 61.64 kB / 448.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1288, allocations: 0 / 448.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/0.129, allocations: 105.4 kB / 448.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.129, allocations: 4 kB / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1291, allocations: 0 / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1291, allocations: 4.031 kB / 448.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.1292, allocations: 19.98 kB / 448.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1292, allocations: 0 / 448.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.1292, allocations: 7.938 kB / 448.9 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1292, allocations: 0 / 448.9 MB, free: 7.223 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.984e-05/0.1294, allocations: 133.8 kB / 449 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.1294, allocations: 15.81 kB / 449 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.1294, allocations: 25.39 kB / 449 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1294, allocations: 0 / 449 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1295, allocations: 4 kB / 449 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1295, allocations: 7.875 kB / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.1299, allocations: 395.4 kB / 449.4 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1299, allocations: 0 / 449.4 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.13, allocations: 12.31 kB / 449.4 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.13, allocations: 7.938 kB / 449.4 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.13, allocations: 0 / 449.4 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.13, allocations: 4 kB / 449.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.13, allocations: 4.031 kB / 449.4 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.1302, allocations: 208.2 kB / 449.6 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.1303, allocations: 92.92 kB / 449.7 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.1303, allocations: 3.938 kB / 449.7 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.1304, allocations: 7.984 kB / 449.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.1305, allocations: 11.88 kB / 449.8 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1305, allocations: 8 kB / 449.8 MB, free: 6.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.1306, allocations: 203 kB / 450 MB, free: 5.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1307, allocations: 4 kB / 450 MB, free: 5.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1309, allocations: 20 kB / 450 MB, free: 5.969 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.001466/0.1324, allocations: 1.101 MB / 451.1 MB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.1326, allocations: 63.91 kB / 451.2 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1326, allocations: 64 / 451.2 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.781e-05/0.1326, allocations: 35.92 kB / 451.2 MB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.133, allocations: 23.98 kB / 451.2 MB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.1349, allocations: 1.84 MB / 453.1 MB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1351, allocations: 0.7121 MB / 453.8 MB, free: 2.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.1352, allocations: 21.17 kB / 453.8 MB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.1353, allocations: 43.42 kB / 453.8 MB, free: 2.023 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1353, allocations: 0 / 453.8 MB, free: 2.023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2081/0.3434, allocations: 3.247 MB / 457.1 MB, free: 45.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/0.3436, allocations: 231 kB / 457.3 MB, free: 45.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.214, allocations: 0 / 457.3 MB, free: 45.66 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches