Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",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.001023/0.001023, allocations: 105.1 kB / 16.27 MB, free: 5.852 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.001035/0.001035, allocations: 191.5 kB / 17.19 MB, free: 5.504 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.29 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.214/0.214, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001514/0.001514, allocations: 67.08 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.102, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002495/0.1045, allocations: 1.693 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009565/0.1055, allocations: 0.8 MB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.1056, allocations: 8 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.1059, allocations: 39.77 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.106, allocations: 47.77 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1063, allocations: 95.69 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.1064, allocations: 87.7 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.1065, allocations: 16.17 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.817e-05/0.1066, allocations: 39.8 kB / 443.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.1067, allocations: 35.83 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1067, allocations: 4 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.1068, allocations: 39.98 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.1068, allocations: 15.92 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.1069, allocations: 31.8 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.107, allocations: 111.6 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.107, allocations: 0 / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.107, allocations: 0 / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1071, allocations: 3.984 kB / 443.7 MB, free: 3.723 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.0004082/0.1075, allocations: 410.9 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1075, allocations: 11.89 kB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.515e-05/0.1075, allocations: 34.75 kB / 444.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.1076, allocations: 12.83 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.1078, allocations: 202.1 kB / 444.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1078, allocations: 4.375 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1078, allocations: 3.938 kB / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1079, allocations: 57.61 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.108, allocations: 0 / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.108, allocations: 7.984 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.108, allocations: 4 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.617e-05/0.1081, allocations: 15.98 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.1083, allocations: 280.9 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1085, allocations: 58.61 kB / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.1086, allocations: 28.84 kB / 444.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1086, allocations: 11.91 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.1088, allocations: 63.39 kB / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1088, allocations: 0 / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000478/0.1093, allocations: 169.2 kB / 445 MB, free: 2.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.1093, allocations: 55.41 kB / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.1094, allocations: 178 kB / 445.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.1094, allocations: 29.7 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.1095, allocations: 100.1 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.1095, allocations: 19.72 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.1095, allocations: 29.7 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.1096, allocations: 322.8 kB / 445.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.137e-05/0.1097, allocations: 20 kB / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/0.1097, allocations: 37.64 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.206e-05/0.1098, allocations: 57.7 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1098, allocations: 3.938 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001499/0.11, allocations: 105.5 kB / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.11, allocations: 7.984 kB / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.11, allocations: 384 / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.11, allocations: 4 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.1101, allocations: 12 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1101, allocations: 8.031 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.1102, allocations: 11.92 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1102, allocations: 0 / 446 MB, free: 1.148 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 7.093e-05/0.1103, allocations: 129.7 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.1103, allocations: 15.81 kB / 446.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.1103, allocations: 16.7 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1104, allocations: 0 / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1104, allocations: 0 / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1104, allocations: 3.938 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1107, allocations: 391.3 kB / 446.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1107, allocations: 4 kB / 446.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.888e-05/0.1107, allocations: 8 kB / 446.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1107, allocations: 3.938 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1108, allocations: 0 / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1108, allocations: 3.984 kB / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1108, allocations: 4 kB / 446.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1109, allocations: 204.5 kB / 446.8 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.111, allocations: 81.02 kB / 446.9 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.111, allocations: 11.88 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.1111, allocations: 0 / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.1111, allocations: 11.98 kB / 446.9 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1111, allocations: 4 kB / 446.9 MB, free: 164 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.956e-05/0.1112, allocations: 131.2 kB / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1112, allocations: 0 / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1115, allocations: 27.98 kB / 447 MB, free: 4 kB / 318.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.001425/0.1129, allocations: 1.107 MB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.1131, allocations: 63.95 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1131, allocations: 3.938 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.147e-05/0.1132, allocations: 27.98 kB / 448.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.1136, allocations: 28.11 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.1152, allocations: 1.605 MB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1155, allocations: 0.7039 MB / 450.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.878e-05/0.1156, allocations: 21.17 kB / 450.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.1156, allocations: 31.42 kB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1156, allocations: 0 / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.1349, allocations: 3.246 MB / 453.9 MB, free: 9.094 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/8.193, allocations: 7.875 kB / 453.9 MB, free: 9.086 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches