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.001591/0.001591, allocations: 105.7 kB / 16.41 MB, free: 6.508 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.001575/0.001575, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.449/1.449, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2378/0.2378, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.002221/0.002221, allocations: 73.45 kB / 441.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.122, allocations: 57.8 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003531/0.1256, allocations: 1.689 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.127, allocations: 0.8077 MB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.1271, allocations: 0 / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.1274, allocations: 59.75 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.1277, allocations: 55.75 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.128, allocations: 87.7 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.1282, allocations: 95.69 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1283, allocations: 20.2 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.1284, allocations: 47.77 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.1285, allocations: 23.86 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.1285, allocations: 4 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1286, allocations: 43.97 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.141e-05/0.1287, allocations: 31.86 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.1288, allocations: 39.69 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.129, allocations: 135.4 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.129, allocations: 4 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.129, allocations: 0 / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.129, allocations: 0 / 0.4905 GB, free: 9.062 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.0007306/0.1298, allocations: 438.6 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1298, allocations: 11.89 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.298e-05/0.1299, allocations: 38.73 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.1299, allocations: 12.84 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1303, allocations: 227.8 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1303, allocations: 4.375 kB / 0.4912 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1303, allocations: 11.94 kB / 0.4913 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1305, allocations: 57.61 kB / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1305, allocations: 0 / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.1305, allocations: 0 / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1305, allocations: 0 / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/0.1306, allocations: 19.98 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.131, allocations: 288.9 kB / 0.4916 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1312, allocations: 62.61 kB / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.1313, allocations: 24.84 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1313, allocations: 4 kB / 0.4917 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.1315, allocations: 71.31 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1315, allocations: 0 / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005754/0.1321, allocations: 189.3 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.1321, allocations: 51.41 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.1324, allocations: 262.5 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1324, allocations: 37.64 kB / 0.4923 GB, free: 7.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.1325, allocations: 108.1 kB / 0.4924 GB, free: 6.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.1326, allocations: 23.8 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.1326, allocations: 25.7 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1328, allocations: 330.8 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.1328, allocations: 19.98 kB / 0.4928 GB, free: 6.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.1329, allocations: 37.64 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.133, allocations: 57.72 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.133, allocations: 384 / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.1333, allocations: 113.5 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1333, allocations: 8.031 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1333, allocations: 0 / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1333, allocations: 0 / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.1334, allocations: 20 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1334, allocations: 3.984 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.1335, allocations: 7.938 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1335, allocations: 4 kB / 0.493 GB, free: 6.289 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 0.0001263/0.1336, allocations: 141.7 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.1336, allocations: 15.91 kB / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.1337, allocations: 25.39 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1337, allocations: 0 / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1337, allocations: 0 / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1337, allocations: 3.938 kB / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.1342, allocations: 399.3 kB / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1342, allocations: 3.984 kB / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.1343, allocations: 8 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1343, allocations: 3.938 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1343, allocations: 8.031 kB / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1343, allocations: 0 / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.1343, allocations: 0 / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.1346, allocations: 216.2 kB / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.1346, allocations: 93 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1347, allocations: 3.938 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.1347, allocations: 0 / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1348, allocations: 15.98 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1348, allocations: 4 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.135, allocations: 192.7 kB / 0.4941 GB, free: 5.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.135, allocations: 0 / 0.4941 GB, free: 5.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1352, allocations: 27.88 kB / 0.4941 GB, free: 5.043 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.002182/0.1374, allocations: 1.107 MB / 0.4952 GB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1376, allocations: 51.97 kB / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1377, allocations: 4.062 kB / 0.4952 GB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.698e-05/0.1377, allocations: 35.92 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1381, allocations: 35.91 kB / 0.4953 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.1402, allocations: 1.808 MB / 0.4971 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1405, allocations: 0.7119 MB / 0.4978 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.216e-05/0.1406, allocations: 21.17 kB / 0.4978 GB, free: 1.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.362e-05/0.1407, allocations: 43.42 kB / 0.4978 GB, free: 1.129 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1407, allocations: 0 / 0.4978 GB, free: 1.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.1668, allocations: 3.692 MB / 0.5014 GB, free: 13.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.137, allocations: 11.91 kB / 0.5014 GB, free: 13.4 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches