Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.001162/0.001162, allocations: 108.3 kB / 16.41 MB, free: 6.434 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.001323/0.001324, allocations: 195.6 kB / 17.34 MB, free: 5.742 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.457/1.457, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.51 MB / 314.1 MB, free: 472 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.001539/0.001539, allocations: 73.47 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1107, allocations: 57.8 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003803/0.1146, allocations: 1.844 MB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1161, allocations: 0.8936 MB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1163, allocations: 7.938 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.1168, allocations: 159.5 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.1171, allocations: 135.5 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.1176, allocations: 147.6 kB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.1179, allocations: 227.3 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.118, allocations: 21.55 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.1182, allocations: 95.66 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.1184, allocations: 135.5 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.1185, allocations: 4 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1186, allocations: 43.98 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.1187, allocations: 39.84 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.1188, allocations: 79.41 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.119, allocations: 199.3 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.119, allocations: 0 / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1191, allocations: 0 / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.1191, allocations: 4 kB / 0.4914 GB, free: 8.18 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006867/0.1198, allocations: 0.506 MB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1198, allocations: 11.89 kB / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.1199, allocations: 38.73 kB / 0.4919 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.1199, allocations: 24.66 kB / 0.492 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1203, allocations: 267.5 kB / 0.4922 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1203, allocations: 4.375 kB / 0.4922 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.1204, allocations: 11.94 kB / 0.4922 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.1206, allocations: 107.3 kB / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1206, allocations: 0 / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1206, allocations: 7.984 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.1206, allocations: 0 / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.1208, allocations: 43.91 kB / 0.4924 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.1213, allocations: 440.9 kB / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.1215, allocations: 113.3 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.557e-05/0.1216, allocations: 37.7 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.1217, allocations: 8 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.1219, allocations: 113 kB / 0.4931 GB, free: 6.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.1219, allocations: 0 / 0.4931 GB, free: 6.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008288/0.1227, allocations: 360 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.1228, allocations: 89.05 kB / 0.4935 GB, free: 5.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.1231, allocations: 355 kB / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1232, allocations: 25.7 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.1233, allocations: 144.4 kB / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.1233, allocations: 47.3 kB / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.1234, allocations: 33.72 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1235, allocations: 342.8 kB / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.1236, allocations: 47.92 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1237, allocations: 70.84 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.124, allocations: 119.3 kB / 0.4946 GB, free: 4.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.124, allocations: 0 / 0.4946 GB, free: 4.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003116/0.1243, allocations: 181.2 kB / 0.4948 GB, free: 4.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1243, allocations: 4 kB / 0.4948 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1243, allocations: 4 kB / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1244, allocations: 0 / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.1245, allocations: 39.86 kB / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1245, allocations: 0.75 kB / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.253e-05/0.1246, allocations: 11.98 kB / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1246, allocations: 4 kB / 0.4948 GB, free: 4.332 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001381/0.1248, allocations: 161.8 kB / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.1248, allocations: 27.62 kB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/0.1249, allocations: 29.73 kB / 0.4951 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1249, allocations: 7.938 kB / 0.4951 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.1249, allocations: 7.984 kB / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1249, allocations: 0 / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/0.1256, allocations: 0.6167 MB / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1256, allocations: 0 / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.1257, allocations: 19.98 kB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1257, allocations: 0 / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1257, allocations: 8 kB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1257, allocations: 3.938 kB / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1257, allocations: 4 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.1261, allocations: 360.2 kB / 0.4961 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.1262, allocations: 96.83 kB / 0.4961 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.1262, allocations: 8 kB / 0.4962 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.1264, allocations: 7.984 kB / 0.4962 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.1264, allocations: 15.92 kB / 0.4962 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.1264, allocations: 8 kB / 0.4962 GB, free: 2.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.1267, allocations: 269.9 kB / 0.4964 GB, free: 2.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1267, allocations: 0 / 0.4964 GB, free: 2.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003277/0.127, allocations: 39.98 kB / 0.4965 GB, free: 2.551 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001533/0.1286, allocations: 1.264 MB / 0.4977 GB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.1288, allocations: 115.9 kB / 0.4978 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1289, allocations: 0 / 0.4978 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.129, allocations: 67.89 kB / 0.4979 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.1295, allocations: 44.86 kB / 0.4979 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.1323, allocations: 2.455 MB / 0.5003 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1326, allocations: 0.7515 MB / 0.5011 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.753e-05/0.1327, allocations: 33.92 kB / 0.5011 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.1328, allocations: 75.41 kB / 0.5012 GB, free: 13.62 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1328, allocations: 3.938 kB / 0.5012 GB, free: 13.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.1557, allocations: 5.481 MB / 0.5065 GB, free: 8.109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.634, allocations: 7.984 kB / 0.5065 GB, free: 8.102 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches