Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",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.007116/0.007116, allocations: 100.2 kB / 15.87 MB, free: 6.316 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.001605/0.001605, allocations: 195.8 kB / 16.79 MB, free: 6.242 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.531/1.531, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.3389/0.3389, allocations: 43.5 MB / 313.5 MB, free: 8.312 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.001414/0.001414, allocations: 68.42 kB / 382.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1178, allocations: 57.79 MB / 439.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003153/0.1209, allocations: 1.749 MB / 441.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1222, allocations: 0.7999 MB / 442.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.387e-05/0.1223, allocations: 0 / 442.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.1227, allocations: 87.75 kB / 442.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.123, allocations: 67.8 kB / 442.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.1233, allocations: 83.83 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1235, allocations: 107.7 kB / 442.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1236, allocations: 12.22 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1237, allocations: 43.84 kB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1238, allocations: 67.69 kB / 442.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1239, allocations: 0 / 442.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.124, allocations: 35.98 kB / 443 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.1241, allocations: 27.91 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.1241, allocations: 35.73 kB / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.1244, allocations: 123.8 kB / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1244, allocations: 0 / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1244, allocations: 0 / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1244, allocations: 0 / 443.2 MB, free: 11.24 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.0005938/0.125, allocations: 422.8 kB / 443.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.125, allocations: 12.03 kB / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.1251, allocations: 30.75 kB / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.1251, allocations: 8.844 kB / 443.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1254, allocations: 231.8 kB / 443.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1254, allocations: 4.375 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1254, allocations: 3.938 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1256, allocations: 57.67 kB / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1256, allocations: 0 / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1257, allocations: 0 / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1257, allocations: 0 / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.524e-05/0.1258, allocations: 23.92 kB / 443.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.1262, allocations: 292.9 kB / 444.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1263, allocations: 50.69 kB / 444.3 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.1264, allocations: 28.84 kB / 444.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1264, allocations: 0 / 444.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.1267, allocations: 67.33 kB / 444.4 MB, free: 9.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1267, allocations: 7.938 kB / 444.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005649/0.1272, allocations: 181.1 kB / 444.5 MB, free: 9.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1273, allocations: 51.41 kB / 444.6 MB, free: 9.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1275, allocations: 222.6 kB / 444.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1275, allocations: 25.7 kB / 444.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.1276, allocations: 108.1 kB / 444.9 MB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.1276, allocations: 27.64 kB / 445 MB, free: 9.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.1277, allocations: 29.7 kB / 445 MB, free: 9.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1278, allocations: 326.8 kB / 445.3 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.475e-05/0.1279, allocations: 16 kB / 445.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.1279, allocations: 37.7 kB / 445.4 MB, free: 8.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1281, allocations: 57.64 kB / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1281, allocations: 0 / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001871/0.1283, allocations: 113.4 kB / 445.5 MB, free: 8.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1283, allocations: 4 kB / 445.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1283, allocations: 384 / 445.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1283, allocations: 4 kB / 445.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.1284, allocations: 12 kB / 445.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1284, allocations: 0 / 445.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.1285, allocations: 15.92 kB / 445.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1285, allocations: 4 kB / 445.6 MB, free: 8.566 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.344e-05/0.1286, allocations: 121.8 kB / 445.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.1286, allocations: 19.92 kB / 445.7 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.1287, allocations: 17.59 kB / 445.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1287, allocations: 7.984 kB / 445.7 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1287, allocations: 3.938 kB / 445.7 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1287, allocations: 3.938 kB / 445.8 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.1291, allocations: 399.2 kB / 446.1 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1292, allocations: 0 / 446.1 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.1292, allocations: 11.94 kB / 446.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1292, allocations: 11.97 kB / 446.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1292, allocations: 0 / 446.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1292, allocations: 0 / 446.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1292, allocations: 0 / 446.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.1295, allocations: 204.5 kB / 446.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.1295, allocations: 88.91 kB / 446.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1295, allocations: 11.88 kB / 446.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.1296, allocations: 4 kB / 446.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.1297, allocations: 11.98 kB / 446.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1297, allocations: 4 kB / 446.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1298, allocations: 176.2 kB / 446.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1298, allocations: 0 / 446.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1301, allocations: 19.98 kB / 446.7 MB, free: 7.367 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.00142/0.1315, allocations: 1.095 MB / 447.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.1317, allocations: 63.91 kB / 447.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1317, allocations: 0 / 447.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.832e-05/0.1318, allocations: 31.92 kB / 447.9 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1321, allocations: 31.86 kB / 447.9 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1339, allocations: 1.737 MB / 449.6 MB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.1342, allocations: 0.716 MB / 450.3 MB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.287e-05/0.1343, allocations: 13.19 kB / 450.4 MB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.1343, allocations: 39.41 kB / 450.4 MB, free: 3.547 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1343, allocations: 0 / 450.4 MB, free: 3.547 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.1489, allocations: 3.29 MB / 453.7 MB, free: 236 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.203/0.3519, allocations: 230.4 kB / 453.9 MB, free: 51.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.061, allocations: 3.156 kB / 453.9 MB, free: 51.29 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches