Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",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.001796/0.001796, allocations: 101.9 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.002126/0.002126, allocations: 190.5 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.53/1.53, 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.2083/0.2083, allocations: 43.52 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.001755/0.001755, allocations: 72.2 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.09763, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002819/0.1005, allocations: 1.693 MB / 442.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1015, allocations: 0.8078 MB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.1016, allocations: 0 / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.1019, allocations: 27.84 kB / 443.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.1021, allocations: 59.7 kB / 443.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1023, allocations: 83.75 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1024, allocations: 99.69 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.1025, allocations: 12.17 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.1026, allocations: 39.8 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.1027, allocations: 39.83 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1027, allocations: 4 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.1028, allocations: 39.92 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.1029, allocations: 15.94 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.1029, allocations: 31.8 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1031, allocations: 103.7 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1031, allocations: 3.984 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1031, allocations: 0 / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1031, allocations: 0 / 443.7 MB, free: 3.727 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.0004734/0.1036, allocations: 406.9 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1037, allocations: 15.89 kB / 444.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.1037, allocations: 38.73 kB / 444.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.1037, allocations: 8.844 kB / 444.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.104, allocations: 210.1 kB / 444.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.104, allocations: 4.375 kB / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.104, allocations: 7.938 kB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1042, allocations: 53.67 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1042, allocations: 3.984 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1042, allocations: 4 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1042, allocations: 0 / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.82e-05/0.1043, allocations: 19.98 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.1046, allocations: 284.8 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1048, allocations: 54.69 kB / 444.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.1048, allocations: 24.84 kB / 444.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1049, allocations: 7.922 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.1051, allocations: 71.33 kB / 444.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1051, allocations: 0 / 444.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000549/0.1056, allocations: 169.3 kB / 445 MB, free: 2.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1057, allocations: 55.34 kB / 445.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1058, allocations: 178 kB / 445.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1059, allocations: 29.7 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.1059, allocations: 108 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.106, allocations: 19.72 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.106, allocations: 25.7 kB / 445.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.1061, allocations: 322.8 kB / 445.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.1061, allocations: 16 kB / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.1062, allocations: 37.7 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.601e-05/0.1063, allocations: 65.64 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1063, allocations: 0 / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001542/0.1065, allocations: 93.58 kB / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1065, allocations: 8 kB / 446 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1065, allocations: 3.938 kB / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1065, allocations: 0 / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.1066, allocations: 19.94 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.1066, allocations: 8.031 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.1067, allocations: 7.922 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1067, allocations: 4 kB / 446 MB, free: 1.145 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 8.715e-05/0.1068, allocations: 125.8 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.1068, allocations: 11.81 kB / 446.2 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.1069, allocations: 16.7 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1069, allocations: 0 / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1069, allocations: 0 / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1069, allocations: 11.94 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.1073, allocations: 383.3 kB / 446.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1073, allocations: 0 / 446.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.1073, allocations: 8 kB / 446.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1073, allocations: 3.938 kB / 446.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1073, allocations: 11.98 kB / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1073, allocations: 0 / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1073, allocations: 3.938 kB / 446.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1075, allocations: 200.5 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.1075, allocations: 85.02 kB / 446.9 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1076, allocations: 11.88 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.1077, allocations: 4 kB / 446.9 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1077, allocations: 4.359 kB / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1077, allocations: 4 kB / 446.9 MB, free: 168 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.823e-05/0.1078, allocations: 135.2 kB / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1078, allocations: 0 / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.108, 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.001401/0.1095, allocations: 1.105 MB / 448.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.1097, allocations: 67.91 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1097, allocations: 0 / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.1098, allocations: 31.92 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.0003524/0.1101, 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.001717/0.1118, allocations: 1.601 MB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.1121, allocations: 0.7039 MB / 450.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.1122, allocations: 25.11 kB / 450.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.1123, allocations: 31.42 kB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1123, allocations: 0 / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0794/0.1917, allocations: 3.252 MB / 453.9 MB, free: 9.086 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/8.466, allocations: 8 kB / 453.9 MB, free: 9.078 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches