Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",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.001353/0.001353, allocations: 104.1 kB / 16.27 MB, free: 6.41 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.001534/0.001534, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.392/1.392, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2023/0.2023, allocations: 43.51 MB / 313.9 MB, free: 0.5273 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.001458/0.001458, allocations: 70.64 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1022, allocations: 57.8 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002664/0.1049, allocations: 1.693 MB / 442.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009624/0.1059, allocations: 0.7922 MB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.106, allocations: 8 kB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.1063, allocations: 43.75 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1065, allocations: 51.77 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.1067, allocations: 95.31 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.1068, allocations: 91.7 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.217e-05/0.1069, allocations: 16.16 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.961e-05/0.107, allocations: 39.8 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.107, allocations: 35.84 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.107, allocations: 0 / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.587e-05/0.1071, allocations: 39.98 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.1072, allocations: 19.92 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.1072, allocations: 35.73 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.1074, allocations: 115.6 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1074, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1074, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1074, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.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.0003652/0.1078, allocations: 411 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.1078, allocations: 11.89 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.203e-05/0.1078, allocations: 38.73 kB / 444.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.1079, allocations: 8.844 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.108, allocations: 213.2 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.108, allocations: 384 / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.108, allocations: 7.938 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1082, allocations: 57.61 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1082, allocations: 0 / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1082, allocations: 0 / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1082, allocations: 4 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.138e-05/0.1083, allocations: 19.98 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.1085, allocations: 284.8 kB / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1087, allocations: 58.62 kB / 444.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.1087, allocations: 24.84 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1087, allocations: 3.938 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.1089, allocations: 67.39 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.1089, allocations: 7.922 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004281/0.1093, allocations: 177.1 kB / 445.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.1094, allocations: 51.41 kB / 445.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1095, allocations: 194 kB / 445.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.1095, allocations: 33.7 kB / 445.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.1095, allocations: 104.1 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1096, allocations: 19.72 kB / 445.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.1096, allocations: 21.72 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.846e-05/0.1097, allocations: 326.8 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.854e-05/0.1097, allocations: 15.98 kB / 445.8 MB, free: 1.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.182e-05/0.1098, allocations: 41.64 kB / 445.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.025e-05/0.1099, allocations: 61.7 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1099, allocations: 0 / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001448/0.11, allocations: 97.53 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.11, allocations: 4 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1101, allocations: 384 / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1101, allocations: 0 / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.1102, allocations: 19.98 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1102, allocations: 0 / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.1102, allocations: 15.97 kB / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1102, allocations: 4 kB / 446.1 MB, free: 1.102 MB / 318.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 6.614e-05/0.1103, allocations: 133.6 kB / 446.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.1103, allocations: 15.81 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.1104, allocations: 20.7 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1104, allocations: 0 / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1104, allocations: 0 / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1104, allocations: 3.938 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.1107, allocations: 391.3 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1107, allocations: 0 / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.1108, allocations: 8 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1108, allocations: 3.938 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1108, allocations: 8 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1108, allocations: 3.984 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1108, allocations: 0 / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.111, allocations: 204.4 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.111, allocations: 88.92 kB / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.111, allocations: 15.81 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.1111, allocations: 4 kB / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1112, allocations: 7.984 kB / 446.9 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1112, allocations: 4 kB / 446.9 MB, free: 96 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1113, allocations: 143.2 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1113, allocations: 4 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1116, allocations: 20 kB / 447.1 MB, free: 15.93 MB / 334.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.113, allocations: 1.096 MB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1132, allocations: 55.98 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1133, allocations: 3.938 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.1133, allocations: 23.98 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1137, allocations: 30.14 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1156, allocations: 1.635 MB / 450 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.116, allocations: 0.704 MB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.726e-05/0.1161, allocations: 17.19 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.1162, allocations: 35.42 kB / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1162, allocations: 0 / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.1395, allocations: 3.296 MB / 454 MB, free: 8.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.71, allocations: 11.94 kB / 454 MB, free: 8.945 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches