Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.001044/0.001044, allocations: 103.3 kB / 16.27 MB, free: 5.969 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.001094/0.001094, allocations: 186 kB / 17.19 MB, free: 5.605 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.59/1.59, 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.2195/0.2195, allocations: 43.51 MB / 313.9 MB, free: 0.5352 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.001329/0.001329, allocations: 69.44 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09255/0.09389, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002767/0.0967, allocations: 1.901 MB / 442.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.09776, allocations: 0.8428 MB / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.09787, allocations: 7.938 kB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.09816, allocations: 43.7 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.09837, allocations: 55.69 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.09862, allocations: 107.7 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.09879, allocations: 131.6 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.09892, allocations: 37.41 kB / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.099, allocations: 55.72 kB / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.752e-05/0.0991, allocations: 47.72 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.09913, allocations: 8 kB / 443.9 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.685e-05/0.09922, allocations: 47.97 kB / 443.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.09928, allocations: 27.92 kB / 443.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.09934, allocations: 47.62 kB / 444 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.09953, allocations: 143.5 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.09954, allocations: 4 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09955, allocations: 0 / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.09956, allocations: 4 kB / 444.1 MB, free: 3.289 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005462/0.1001, allocations: 476.5 kB / 444.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.1001, allocations: 15.89 kB / 444.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.1002, allocations: 38.73 kB / 444.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.1002, allocations: 16.75 kB / 444.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1004, allocations: 216 kB / 444.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1005, allocations: 12.36 kB / 444.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.1005, allocations: 15.84 kB / 444.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1007, allocations: 107.7 kB / 445 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1007, allocations: 7.922 kB / 445 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1007, allocations: 4 kB / 445 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.1007, allocations: 4 kB / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1009, allocations: 43.97 kB / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.1013, allocations: 0.5048 MB / 445.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.1016, allocations: 90.66 kB / 445.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/0.1017, allocations: 40.84 kB / 445.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1017, allocations: 7.875 kB / 445.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.1019, allocations: 83.31 kB / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.1019, allocations: 4 kB / 445.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003324/0.1022, allocations: 141.4 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.1023, allocations: 59.39 kB / 446 MB, free: 1.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1024, allocations: 187.4 kB / 446.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1024, allocations: 33.7 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.1025, allocations: 112 kB / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.1025, allocations: 23.66 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1025, allocations: 41.61 kB / 446.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.1026, allocations: 322.8 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/0.1027, allocations: 27.98 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.071e-05/0.1028, allocations: 75.83 kB / 446.8 MB, free: 372 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1029, allocations: 96.2 kB / 446.9 MB, free: 260 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1029, allocations: 0 / 446.9 MB, free: 260 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002356/0.1032, allocations: 133.8 kB / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1032, allocations: 8.125 kB / 447 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1032, allocations: 4 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1032, allocations: 4.031 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.1033, allocations: 31.86 kB / 447.1 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1033, allocations: 0 / 447.1 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.1034, allocations: 11.91 kB / 447.1 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1034, allocations: 8 kB / 447.1 MB, free: 52 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001096/0.1035, allocations: 125.8 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1036, allocations: 19.8 kB / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.1036, allocations: 21.41 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1036, allocations: 3.938 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1036, allocations: 0 / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.1036, allocations: 3.984 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.1038, allocations: 213.5 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1038, allocations: 0 / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.1039, allocations: 15.94 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1039, allocations: 0 / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1039, allocations: 0 / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1039, allocations: 3.938 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.1039, allocations: 4 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.1043, allocations: 188.8 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.1044, allocations: 81.02 kB / 447.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1044, allocations: 8 kB / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.1045, allocations: 11.92 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.1045, allocations: 4 kB / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.1046, allocations: 12.05 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1047, allocations: 141.2 kB / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1047, allocations: 0 / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1049, allocations: 31.89 kB / 447.9 MB, free: 15.08 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001546/0.1065, allocations: 1.005 MB / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.1068, allocations: 91.77 kB / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1068, allocations: 0 / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.831e-05/0.1069, allocations: 39.91 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.1072, allocations: 45.81 kB / 449.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.1092, allocations: 1.727 MB / 450.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1096, allocations: 0.7161 MB / 451.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.86e-05/0.1097, allocations: 25.41 kB / 451.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.1098, allocations: 43.42 kB / 451.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1098, allocations: 0 / 451.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.1327, allocations: 3.682 MB / 455.3 MB, free: 7.613 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.17, allocations: 7.219 kB / 455.3 MB, free: 7.609 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches