Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.001137/0.001137, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.001135/0.001135, allocations: 189.5 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.299/1.299, 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.1901/0.1901, allocations: 43.52 MB / 314.1 MB, free: 460 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.00143/0.00143, allocations: 73.47 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09874, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003043/0.1018, allocations: 1.845 MB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1033, allocations: 0.9052 MB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1034, allocations: 4 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004318/0.1039, allocations: 227.4 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.1042, allocations: 159.4 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.1046, allocations: 147.7 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.1049, allocations: 235.3 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.105, allocations: 17.55 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.1052, allocations: 115.6 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1054, allocations: 147.5 kB / 0.4912 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1054, allocations: 8 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1055, allocations: 51.92 kB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.812e-05/0.1056, allocations: 51.83 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.468e-05/0.1057, allocations: 79.36 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.106, allocations: 219.1 kB / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.106, allocations: 0 / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.106, allocations: 0 / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.106, allocations: 0 / 0.4916 GB, free: 8.016 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.0006445/0.1067, allocations: 0.537 MB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1067, allocations: 15.89 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.1068, allocations: 34.73 kB / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.1068, allocations: 32.56 kB / 0.4922 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1072, allocations: 280.1 kB / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1072, allocations: 8.375 kB / 0.4924 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.1072, allocations: 7.938 kB / 0.4924 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.1074, allocations: 91.36 kB / 0.4925 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1074, allocations: 0 / 0.4925 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1075, allocations: 4 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1075, allocations: 0 / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1076, allocations: 43.91 kB / 0.4926 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.1081, allocations: 449 kB / 0.493 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.1084, allocations: 117.3 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.846e-05/0.1085, allocations: 37.7 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.1085, allocations: 7.984 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.1087, allocations: 124.8 kB / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.1087, allocations: 0 / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008246/0.1096, allocations: 356 kB / 0.4936 GB, free: 5.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.1096, allocations: 92.97 kB / 0.4937 GB, free: 5.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.11, allocations: 428.4 kB / 0.4941 GB, free: 5.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.11, allocations: 33.7 kB / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.186e-05/0.1101, allocations: 148.4 kB / 0.4943 GB, free: 4.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.1102, allocations: 55.34 kB / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.1102, allocations: 33.7 kB / 0.4944 GB, free: 4.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1104, allocations: 346.8 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/0.1105, allocations: 44.72 kB / 0.4947 GB, free: 4.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1106, allocations: 74.84 kB / 0.4948 GB, free: 4.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.1108, allocations: 119.5 kB / 0.4949 GB, free: 4.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1108, allocations: 4 kB / 0.4949 GB, free: 4.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002929/0.1111, allocations: 177.3 kB / 0.4951 GB, free: 4.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1111, allocations: 4 kB / 0.4951 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1111, allocations: 0 / 0.4951 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1111, allocations: 4 kB / 0.4951 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.1113, allocations: 43.92 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.1113, allocations: 4 kB / 0.4952 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.1114, allocations: 15.89 kB / 0.4952 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1114, allocations: 4 kB / 0.4952 GB, free: 4.012 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.0001393/0.1115, allocations: 169.7 kB / 0.4953 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.1116, allocations: 23.72 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-05/0.1116, allocations: 34.62 kB / 0.4954 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1117, allocations: 3.938 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.1117, allocations: 0 / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1117, allocations: 8 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.1124, allocations: 0.628 MB / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1124, allocations: 0 / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.1124, allocations: 19.98 kB / 0.496 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1124, allocations: 0 / 0.496 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1125, allocations: 8 kB / 0.496 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1125, allocations: 4.062 kB / 0.496 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1125, allocations: 4 kB / 0.496 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.1128, allocations: 367.9 kB / 0.4964 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.1129, allocations: 96.83 kB / 0.4965 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.113, allocations: 4 kB / 0.4965 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.1131, allocations: 11.98 kB / 0.4965 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.1131, allocations: 15.98 kB / 0.4965 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.1132, allocations: 8 kB / 0.4965 GB, free: 2.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.1134, allocations: 319 kB / 0.4968 GB, free: 2.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1135, allocations: 0 / 0.4968 GB, free: 2.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003388/0.1138, allocations: 36 kB / 0.4969 GB, free: 2.156 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.00155/0.1154, allocations: 1.274 MB / 0.4981 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.1156, allocations: 119.8 kB / 0.4982 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1156, allocations: 0 / 0.4982 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1158, allocations: 55.92 kB / 0.4983 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.1163, allocations: 57.3 kB / 0.4983 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.1192, allocations: 2.633 MB / 0.5009 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1195, allocations: 0.7593 MB / 0.5016 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.128e-05/0.1196, allocations: 42.52 kB / 0.5017 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1197, allocations: 83.41 kB / 0.5018 GB, free: 13.01 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.1197, allocations: 0 / 0.5018 GB, free: 13.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.1415, allocations: 5.817 MB / 0.5074 GB, free: 7.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/7.853, allocations: 7.938 kB / 0.5075 GB, free: 7.156 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches