Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",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.001378/0.001378, allocations: 107.3 kB / 16.41 MB, free: 6.457 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.001431/0.001431, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.411/1.411, 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.2059/0.2059, allocations: 43.53 MB / 314.1 MB, free: 452 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.001975/0.001975, allocations: 65.62 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1094, allocations: 57.8 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003219/0.1126, allocations: 1.697 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.114, allocations: 0.8039 MB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.1141, allocations: 0 / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.1144, allocations: 51.77 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.1147, allocations: 55.75 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.115, allocations: 99.58 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1152, allocations: 91.75 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1153, allocations: 20.2 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.1154, allocations: 39.8 kB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.1155, allocations: 27.84 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.1155, allocations: 4 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1156, allocations: 39.98 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.731e-05/0.1157, allocations: 27.86 kB / 0.4904 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.1157, allocations: 39.72 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.116, allocations: 123.5 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.116, allocations: 0 / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.116, allocations: 3.938 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.116, allocations: 4 kB / 0.4905 GB, free: 9.086 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.000566/0.1166, allocations: 426.6 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1166, allocations: 15.89 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.1167, allocations: 30.75 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1167, allocations: 12.84 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.117, allocations: 216.1 kB / 0.4912 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.117, allocations: 384 / 0.4912 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.117, allocations: 7.938 kB / 0.4912 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1172, allocations: 61.61 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1172, allocations: 0 / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1172, allocations: 0 / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.1172, allocations: 3.984 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.008e-05/0.1173, allocations: 16 kB / 0.4913 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.1177, allocations: 296.9 kB / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1179, allocations: 54.62 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.118, allocations: 28.84 kB / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.118, allocations: 3.984 kB / 0.4916 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.1182, allocations: 59.39 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1182, allocations: 0 / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005625/0.1187, allocations: 189.3 kB / 0.4919 GB, free: 7.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.1188, allocations: 55.41 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.1191, allocations: 230.5 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1191, allocations: 29.7 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.1192, allocations: 108.1 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.1192, allocations: 23.8 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.1193, allocations: 25.7 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1194, allocations: 326.8 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.1195, allocations: 28.36 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.1196, allocations: 37.59 kB / 0.4927 GB, free: 6.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1197, allocations: 61.69 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1197, allocations: 4 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.1199, allocations: 105.5 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1199, allocations: 4 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1199, allocations: 4 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.12, allocations: 4.031 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.12, allocations: 12 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1201, allocations: 0 / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.1201, allocations: 15.92 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1201, allocations: 4 kB / 0.4929 GB, free: 6.387 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.0001177/0.1203, allocations: 133.7 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.1203, allocations: 7.953 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.1203, allocations: 21.41 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1203, allocations: 4 kB / 0.4931 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1203, allocations: 0 / 0.4931 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1204, allocations: 3.938 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.1208, allocations: 399.3 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1208, allocations: 4 kB / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.1209, allocations: 4 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1209, allocations: 7.938 kB / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1209, allocations: 0 / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1209, allocations: 0 / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1209, allocations: 12.02 kB / 0.4935 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.1212, allocations: 200.3 kB / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.1212, allocations: 89 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1213, allocations: 3.938 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.1214, allocations: 8 kB / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1214, allocations: 3.984 kB / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1214, allocations: 8 kB / 0.4938 GB, free: 5.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.1216, allocations: 167.2 kB / 0.4939 GB, free: 5.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1216, allocations: 3.938 kB / 0.4939 GB, free: 5.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1218, allocations: 23.98 kB / 0.494 GB, free: 5.191 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.002101/0.1239, allocations: 1.099 MB / 0.495 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.1241, allocations: 63.95 kB / 0.4951 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1241, allocations: 64 / 0.4951 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.388e-05/0.1242, allocations: 31.92 kB / 0.4951 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1246, allocations: 35.67 kB / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.1264, allocations: 1.716 MB / 0.4968 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1268, allocations: 0.7196 MB / 0.4975 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.894e-05/0.1269, allocations: 13.19 kB / 0.4976 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.127, allocations: 35.42 kB / 0.4976 GB, free: 1.387 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.127, allocations: 0 / 0.4976 GB, free: 1.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.1508, allocations: 3.534 MB / 0.501 GB, free: 13.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.11, allocations: 11.84 kB / 0.501 GB, free: 13.82 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches